The Trump administration said Saturday it had imposed a 25% tariff on goods from Canada and Mexico and a 10% tariff on China.