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