US President Donald Trump has threatened to impose tariffs on countries that oppose the United States gaining control of Greenland.