The S&P 500 surges to a record high as hopes about the economy — and Big Tech —…