She's able to preserve her existence virtually, implying that wherever there are electronics, M3GAN will find a way to keep living.
Even at the Funki office, she can hack their computer systems and prevent them from turning her off, making her more effective than one of Skynet's Terminators. Before she kills Bruce, M3GAN uses various computer systems to stay alive. There's nothing supernatural about how M3GAN operates she's a robot that Gemma programs to be Cady's companion, but her drive to preserve herself is as strong as the one for protecting Cady. In his debut feature, 1988s 'Childs Play,' a voodoo-practicing serial.
At the end of subsequent sequels, this process would continue, with the murderer able to transfer his essence into other Good Guy dolls, perpetually keeping himself 'alive.' His main goal was to move his soul into a human host, thereby gaining all the benefits of being flesh and blood rather than being a toy, but Chucky's power is reliant on the supernatural, which isn't as quantifiable as technology. A heavy-hitter slasher villain, Chucky has been a constant, pint-sized presence in horror for over 30 years (and counting). In the original Child's Play, serial killer Charles Lee Ray could put his vile soul into a Good Guy doll and live on.