Key PointsThe S&P 500 has soared for several years as investors remain enthusiastic about artificial intelligence (AI).