The S&P 500 and Nasdaq edged up in early trading after a Thursday rout driven by concerns about a potential slowdown in data center construction.