S&P 500 drifts near peak as tech losses weaken Fed-powered surge