A flare-up in tensions between the US and Iran led to rising oil prices and a $45bn wipe-out of the Australian sharemarket.