New Zealand has been caught by a global fight between humans and machines that might define intellectual property rights for the rest of the century.