Stocks wavered in afternoon trading, as losses for several Big Tech companies offset gains elsewhere in the market.