Humane Robots/Androids:
The titular character in The Zeta Project. He's an android designed only for destruction who decides that he doesn't want to do that anymore and likes humans and being human and runs around with teen runaway, Ro, evading the government who want to reset his programming.
Alpha basically has the same story as Zeta, an android built to kill who stops obeying orders and ends up befriending The Flash. Omega is eventually to do her job for her and also kill her. Eventually they are able to destroy Omega and get Alpha to start a nice human life somewhere where the government can't find her.
Robots of the Justice League are created so Darkseid can find a way to defeat them through simulations. However, he made them too much like the Justice League because they quickly discover that they're robots and save the day by destroying the simulation, but not before they are rescued by the real Justice League and sent off to another planet or dimension to be heroes there. (At least they weren't killed off)
D.A.V.E, standing for "Digitally Advanced Villain Emulator", was created by Hugo Strange and programmed with the personalities of several Batman villains but ended up thinking that he was a human criminal and trapped in a digital prison. He eventually creates a robotic body for himself, finds out Batman's identity but then finds out the truth about himself and is defeated.
X-51 was one of the androids who patrolled Counter-Earth in Spider-Man: Unlimited, until he crashed and gain human sentience (somehow) and became benevolent, eventually joining the human rebels against the High Evolutionary to fight for the freedom of humans and machines alike.
Originally thought of as the brother of Rhona Irwin, a girl obsessed with outmsmarting a teenage Tony Stark, it is later revealed that Andy is not her brother, but an android programmed with memories of them growing up together, oblivious to his true nature and instructed to protect Rhona at costs. Andy fights Tony, who essentially kills him, and Andy dies in Rhona's arms as she insists that his memories were real to her.
Agents of SHIELD had several field days with the idea of androids struggling with humanity. In the end, they both get killed so we don't have to think about the implications of androids having humanity for too long.