A rally in big tech spurred a rebound in stocks as a blowout outlook from an artificial-intelligence bellwether rekindled ...