An AI-driven rally that boosted stocks earlier in the week fizzled out as chipmaker Broadcom reported underwhelming results