The U.S. stock market had its worst week in around a month, despite a strong quarterly report from AI giant Nvidia (NVDA).