President Donald Trump on Wednesday threatened to impose tariffs on the European Union or stop trading with the bloc if he deemed its decision to offer to make Canada its first associate member a “hostile act,” in remarks that come amid an escalating trade war between the U.S. and Canada.