Ofcourse Australia would lose to China in a war. If we make a Hypothetical scenario in which Australia and China fight a Conventional War in which both sides don't have any help from Allies like in the Case of China, Pakistan is an ally and for Australia ,US is an Ally. China would definitely win Hands down Against Australia. China has a larger Navy, Airforce etc than Australia.