The U.S. stock market took a major hit on Thursday in the fallout from President Donald Trump's sweeping tariffs.