A sweeping selloff led by technology stocks on Wall Street Thursday erased almost $3 trillion from the market value of companies in the S&P 500. Investors responded to intensifying concerns over increased artificial intelligence spending, tighter regulations, and the outlook for corporate performance in the sector.