Investors reacted to a pledge from the president on Friday to impose a “massive” new tariff on Chinese imports.