EU lawmakers have agreed to ban AI tools used to create non-consensual sexualised deepfakes, including child abuse material.