Kryten - Spare Head #2 version (Red Dwarf): LE or NE with Lawful tendencies
This version of Kryten has no guilt chip, essentially becoming free of the constraints of Asimov’s 3 Laws of Robotics (especially #1). So while it still acts within strong codes for orderly behavior, it decides on its courses of action with utter amorality. This is shown in how it agrees on a course of action that could be disruptive to space-time, then later scavenges human remains for a meal for its organic crewmates, all done with its usual chirpy cheerfulness.
It‘s all done comedically, of course, but in all seriousness, this android is a danger to anyone around it, since it has no overriding reason to protect humans. If it thinks your death would make things easier, it could very well choose to kill you.
Box (Logan’s Run) would be another example of a similar robotic being. Its mission is to preserve food for human consumption, but it was forgotten- along with so many other things in that setting- and its regular supplies dwindled off. It also went nuts, developing a taste for wind chimes (it made crystalline ”birds”). When humans actually DID arrive, Box decided to preserve them just like its prior supplies, IOW, preserving people to be eaten by other people. That’s a serious coding error.
Some of the robots from
Westworld - like
The Gunslinger or medieval knights- would be somewhere between Kryten and
Amos Burton if you could convince one to be your ally and not a target.
The Terminator (
Terminator 2) is much the same as those, but is shown to be reprogrammable to be safer...if you have the permission and access to do so.