Danish Prime Minister Mette Frederiksen has warned that the U.S takeover of Greenland would mean an end to the alliance.