Secretary of State Marco Rubio has told lawmakers that President Trump plans to buy Greenland rather than invade it.