For three years, artificial intelligence was the undisputed engine of the U.S. stock market. From chip designers to cloud ...