Britain is making it illegal to use artificial intelligence tools to "nudeify" images of children, as new AI rules come into force in the European Union.