New Zealand’s intelligence agency on Friday joined allies in holding China responsible for a global hacking campaign targeting commercial secrets.