The sci-fi thriller M3gan about a doll that turns deadly has reignited conversations about the potential perils of AI — from ChatGPT to avatar creators to bots being developed to argue court cases.