Damage did not make AMEE go mad!!
They explain this in the bloody movie which evidently I'm the only person on here who actually watched it. The damage to AMEE was something in her navigation ability, something they specifically needed her for, she turned on them because they decided to kill her and take the part out to use it manually.
She did not go berserk, she was a military asset loaned to them for navigation and now they wanted to shut her down and remove the part they needed, I'd be pretty pissed too if I was an autonomous robot and designed to defend myself.
And as for the multiple "Why would a military robot even be on the mission?!?!?" threads, geeee let me think... maybe because every country on Earth spends about 1,000 times more on defence than they do on space exploration? If NASA wanted a state of the art unmanned drone at this moment in time they wouldn't spend billions designing one they'd just ask the department of defence to send over one of the ones they've had for years.
Common sense, people. Do you know it?
Opinions are just onions with pi in them.