Donald Trump has not ruled out the possibility of military intervention to take control of Greenland, a stance that has drawn sharp condemnation from European nations.