US President Donald Trump criticized Spain's commitment to NATO on Wednesday, saying the country is not a particularly strong ally of the United States within the alliance.