Chip-making equipment supplier Lam Research forecast third-quarter revenue above Wall Street expectations on Wednesday, driven by a surge in orders from chip firms amid the AI boom.