The stock market lost $2.5 trillion in value on Thursday, the worst single-day plunge since the pandemic lockdowns five years ago.