The moves come after the S&P 500 and Nasdaq Composite fell last week, as Oracle and Broadcom led a rotation away from artificial intelligence stocks.