US President Trump has carried out his threat to attack Iran, shifting attention to the Strait of Hormuz, the world's most critical oil chokepoint.