New Zealand Labour leader and former prime minister Chris Hipkins says he won't partner with Australia's military alliance AUKUS if he wins office again.