Is Mamiya dead? She's a robot after all.
Doctor Dorothy created artificial intelligence that can think and feel. Why did she do it? Perhaps because she knew she was going to die and she knew humanity was in danger, and having a third intelligent lifeform that can evolve might help save more of humanity from the bad guys.