The results echoed the slowdown at Microsoft and Alphabet-owned Google, and highlighted how U.S. cloud-computing giants were struggling to scale AI as infrastructure bottlenecks cap growth, forcing them to invest billions in data centers with little short-term payoff.