It's really funny to me that so many people here are saying "hah, Kei really deserved getting killed and rebuilt in her own robot's image because she cheated on the robot she designed to be emotionally dependent on her".
Whereas I'm gonna say: Hah, Kei really deserved getting killed and rebuilt in her own robot's image because she had the arrogance to program a robot to feel uncontrollable emotional attachment to her, without considering the consequences."
A mad scientist done in by her own invention indeed. Yet another stellar work from Nmi that shows their range as an author.