S&P 500 Recovers from AI Selloff as Tech Stocks Rebound