The Nasdaq Composite and the S&P 500 hit new peaks on Thursday, buoyed again by gains in the technol