The popular robot horror movie M3GAN illustrates legal and ethical responsibilities that are often overlooked.