Alarm and condemnation erupted from European capitals, the White House and leaders of Donald Trump's own party after the Republican presidential nominee suggested the United States might abandon its Nato military commitments if he were elected president.