A Greens senator has cast doubt on the threat from China as the AUKUS submarine pact faces renewed pressure.