Financial markets slumped Friday after President Trump threatened to raise tariffs on China over a dispute involving rare earths.