After a year of relentless optimism, Wall Street may finally be catching its breath, though perhaps more from vertigo than exertion. U.S. stocks, led by the once-unstoppable tech giants, stumbled on Tuesday as investors began to question whether the artificial-intelligence boom can really fund itself forever. It turns out even dreams of machine intelligence must submit to the arithmetic of earnings.