S&P 500 hits record as semiconductor ETF surges 4%, telecom lags