Stocks claw higher on Wall Street as tech giants rebound