Donald Trump threatened to halt all U.S. trade with Spain after Madrid refused to allow American military bases to support strikes on Iran.