NATO members have been shaken by President Trump repeatedly calling NATO “obsolete” during the campaign and questioning whether he would come to the defense of allies if they didn’t shoulder more of the cost of their defense.