I was part of a team making a battle robot that happened to look like Terminator. It went rogue and after a long deltarune-style fight in which several of us died, we defeated it. Later we found CCTV of the robot stating it would have shut down early in the fight but decided to switch to the new firmware one of the team had written in secret over a weekend after his wife and kids left him. That team member survived the fight and later the robot returned to ask to be adopted by him.