S&P 500, Nasdaq Hit Record Highs on AI Optimism, Iran Peace Deal