The Nasdaq Composite and the S&P 500 pulled back from record highs on Thursday, dragged down by a se