China has raised its concerns about New Zealand being potentially involved in the intelligence and security pact AUKUS directly with the prime minister.