Investors piled into artificial intelligence (AI) stocks last year, which helped all three benchmarks advance in the double ...