it was already done in too human, which was liberal as FUCK. in my ending, i chose to sing with a bunch of robots to express on-air that we were just as human as them. that shit doesn't work irl. it's like the palestinians that went out to protest peacefully and were simply murdered for existing.
Its from the Animatrix, a part called "The Second Renaissance". It's an anime history of the robots. One of my favorite shorts of all time.
The first robot to kill a human is a butler who then argues in court that he snapped from being mistreated. I don't really want to give anything else away because its worth watching. It is pretty heavy and haunting and freaks me out when I watch it, but its so good. 15 minutes of absurd future history.