President Trump announced sweeping tariffs on goods imported from Mexico, Canada and China, sending shocks through the global supply chain and raising fears about consumer costs.