S&P 500 Hits Record Highs on AI-Driven Earnings Resilience