The S&P 500 closed near a record high on Wednesday, driven by gains in AI-related companies. The index advanced 0.6% to ...