Australia, the US and Japan have sent a defiant message to China by putting their increasingly close partnership on an alliance-style footing.