S&P 500 earnings surprise hits 29% as AI drives record margins