Tim Day warns Australia is racing towards an investment cliff edge and says the mining giant is losing a battle against unions in the Pilbara.