S&P 500, Nasdaq Hit Records on AI Earnings and Middle East Peace