Donald Trump's threat of tariffs on countries not backing a US takeover of Greenland has prompted a market sell-off.