A brilliant roboticist for a toy company uses artificial intelligence to create M3GAN, a lifelike doll programmed to bond emotionally with her newly orphaned niece. But when the doll’s programming works too well, she becomes overprotective of her new friend, with terrifying consequences.