Ed209 in the original Robocop.
But that also happened about every other week with the robot in the 1960s Lost in Space series...
You should also watch Colossus:The Forbin Project (it's on line)
Yeah I really loved ED-209!
If you are looking for a film with a genuinely intelligent AI that will not take any BS from humans...I second the recommendation of Colossus. It's a menacingly cold machine that manages to be both dangerous yet not actually evil or malevolent.