Australia’s sharemarket is on the precipice of a near-20 per cent collapse as a downturn in company earnings delivers a brutal reality check to sky-high valuations and complacent investors who have been riding the wave of passive money flowing onto the bourse.