Trump undermining NATO by creating doubt about US commitment, Macron says