The S&P 500 on Tuesday finished only 1.9% away from its record finish in January, but that’s masking a lot of AI turbulence