Australia is teetering on the edge of a massive hole – one left by huge mines that may soon close.