The S&P 500 is on course for its worst week since a banking crisis two years ago. The Nasdaq fell into a correction on Thursday.