Trump has engaged Putin and hinted the US may not defend European allies, causing alarm about Nato's future.