Saudi Arabia and other Gulf states have imposed a ban on US warplanes using their air fields or skies to attack Iran after US President Donald Trump over the weekend threatened to bomb the country.