During the campaign, Mr Trump suggested that Washington may not automatically come to the aid of a Nato ally under attack, criticising low levels of defence spending by some EU members of the military alliance.