The stock market took a major hit Thursday after President Donald Trump announced sweeping new tariffs on U.S. imports.