The S&P 500 rose on Wednesday, a day after it snapped a seven-day in streak, as a drop in Oracle shares that called into question the sustainability of the artificial intelligence market. The ongoing U.S. government shutdown also weighed on sentiment.