A New Zealand man has been ordered to pay more than $16 million after being accused of running the world's largest spam operation.