Stocks rebounded on Wednesday, buoyed by gains in technology and semiconductor giants. Oil prices stabilized after this week's surge.