The growth in gross domestic product topped economists’ expectations and was the fastest in a year, boosted by massive investments in artificial intelligence infrastructure and an American consumer ...