Iran, Iraq and Israel have closed their airspaces to civilian traffic and US embassies in the Gulf urged American citizens to take shelter.