Australia and Papua New Guinea have signed a major defense treaty, which Beijing claims unfairly targets China.