The stock market had strong weekly gains, but it didn't feel that way with Sandisk and other AI plays selling off Thursday.