The Australian sharemarket has copped a $140 billion wipe-out in its worst week since 2022, as escalating war in the Middle East prompts a global sell-off.