The S&P 500 and the Nasdaq were on pace for steep weekly losses as chipmakers came under renewed selling pressure on Friday after a stellar run this quarter, with investors questioning high valuations and the repercussions of massive AI spending by companies.