Beazley gaining office would threaten Australia’s economy: Treasurer