NATO has criticised comments made by Donald Trump at a campaign event - claiming they put American and European soldiers at increased risk .