North Korean hackers targeted a British television company making a drama about the country, it has emerged.