Australia's economy is heavily dependent on mining, and China's economic growth created a local mining boom. This resulted in heavy demand for Australian dollars, and at its peak in 2013 1 AUD was worth about 1.05 USD.
It was at this time that Ford (the weakest of the three Australian manufacturers) made the decision to close its Australian manufacturing operations. The high value of the local currency meant the factory was unprofitable and uncompetitive with other factories around the world.
The conservative government at the time, led by Tony Abbott, refused to provide subsidies to help close the gap (even temporarily).
Toyota and GM Holden had similar problems, and all knew that the local automotive parts suppliers needed at least three companies to sell to. So once Ford was out, the supply chain for parts became unsustainable, and the others quickly announced that they would pull out too. It takes time to close an entire industry, which is why all three companies closed their factories in 2017.
Around 2015 the slowdown in China's growth led to a slowdown in Australia's mining industry, and a drop in the AUD. It dropped to around 0.80 USD, and interestingly, Australia's car manufacturers became quite profitable again. But the wheels were already in motion and the decisions couldn't be reversed.
Australia's mining industry has bought in a lot of money, but its impact on the dollar has done a lot of damage to the country's export economy. There's a term that economists use to describe this: Dutch disease. Australia has a bad case of it.
Edit: s/80 USD/0.80 USD/