The president-elect said he would not rule out the use of military force to seize control of the Panama Canal and Greenland.