Australia’s naval expansion plan comes as China and other powers in the Asia-Pacific and beyond build up their firepower.