S&P 500 hits record as tech surges 2.5% and utilities slide 3%