US President Donald Trump cast doubt on his willingness to defend NATO allies, saying he would not do so if they are not paying enough for their own defense.