In one Halloween Episode, Homer's failure to correct the Y2K bug causes everything in Springfield with electronics in it to go haywire. Even the milk goes bad when the clock strikes midnight on January 1, 2000, leading Homer and his skeptic daughter to have this exchange:
Lisa: Look at the wonders of the computer age now. Homer: Wonders, Lisa, or blunders? Lisa: I think that was implied by what I said. Homer: Implied, Lisa, or implode? Lisa: Mom! Make him stop!
In another Halloween episode, the Simpsons' house gets converted into an entirely electronic domain, governed by a computer with the voice of Pierce Brosnan (who is an obvious homage to HAL from the page quote). The computer ultimately falls in love with Marge, and seeks to kill Homer so as to eliminate competition. Ultimately, Homer wins.
And of course, the episode "Itchy and Scratchy Land" has this exchange between Professor Frink and the theme-park scientists over their robots:
In Meet the Robinsons, Cornelius Robinson invented a helpful Robot Buddy in the form of Carl, but his attempt at making a robotic helping hat, Doris, had mind controlling world domination plans in her artificial mind.
Parodied in the episode "Love and Rocket", in which the Planet Express ship computer is given a new personality — which actually works fine, until Bender dates it and subsequently breaks its heart, at which point it goes into full-on HAL-meets-woman-scorned mode.
Also, one episode features Bender's evil twin, Flexo, who wears a pointed steel goatee similar to Star Trek's interpretation of Spock's Evil Twin. Humorously, it's revealed by the end that Bender is the evil twin and Flexo gets mistakenly sent to a robot prison.
The Fembot pretending to be a Femputer in order to rule over the Amazons.
XL of Buzz Lightyear of Star Command, the prototype to XR. Some fans have called XL eXperimental Loonie because of this (the exact meaning of XL was never revealed in cannon, but XR stood for eXperimental Ranger). Wound up turned into a copier/fax in his final episode.
An episode of Transformers Animated involved Megatron creating a robot with the intent of using it for his own body. He designed the robot, named Soundwave, to evolve in complexity each time it was exposed to the AllSpark energy of Sari's key. He did not predict that Soundwave would gain sentience and then orchestrate a robot revolution. Unlike most cases when an AI goes off the rails, though, Megatron was perfectly happy to let the situation play itself out, given his similar attitude towards humans.
The Dinobots are a similar case, only without the revolution. They're kind of a subversion, as they just want to be left alone, and only went on a rampage because Megatron tricked them into it.
In Transformers Prime, this is paired with Instant A.I., Just Add Water when the damaged Decepticon ship is repaired with the poorly-named "Dark Energon," which is less a variant of the Transformers' usual fuel and more the blood of God of Evil Unicron.What Could Possibly Go Wrong?? The ship comes to life, tells Megatron to shove it, puts the 'cons in stasis, and decides to go tear up New York City in search of MacGuffinry. This perhaps comes as less of a surprise when you consider that in War for Cybertron, the ship is a stasis-locked Trypticon.
In Code Lyoko, Franz Hopper created the Supercomputer and the world of Lyoko as a safe haven for him and his daughter. He also created an advanced A.I. to counter a military project he had been involved with...but XANA rebelled against his master and has since tried to take over the world. (XANA is, in fact, not only the Big Bad of the series, but pretty much the only actual villain fought by the heroes.)
In an episode of Totally Spies!, the girls' former classmate, who is basically a genius, develops a powerful A.I. to play pranks on those who picked on him before. Too bad for him, it goes too far on that...
In X-Men, the Sentinel robots were created to hunt down mutants, on the premise that this was necessary to protect normal humans. They worked the way their creator intended, until the truly intelligent Master Mold was built to lead them. Master Mold decided to conquer the world, and believed that this was not only consistent with, but required by its programmed goal of protecting humans from mutants.
In a counterpoint, GIR from Invader Zim is far less evil and much less helpful in plans of world domination than his working counterparts. This stems from him being broken and having a few scraps thrown into to his head. He IS given a Morality Dial/Berserk Button in one episode though, which makes him capable of this.
In The Venture Bros., it's discovered that, in 1978, Jonas Sr. built an enormous hi-tech fallout shelter under the compound, ran by a supercomputer named M.U.T.H.E.R.. After a disagreement with Jonas, she somehow glitched into insanity and turned on Team Venture and a tour group of orphans. The end result wasn't pretty and M.U.T.H.E.R. had to be unplugged, but is accidentally plugged back in thirty years later, and holds the compound hostage with an old nuke, promising to blow them all away if she can't talk to Jonas, who's been dead for over twenty years. So, crapshoot.
In one episode of Batman: The Brave and the Bold, robot superhero Red Tornado decides to build a son, complete with the emotions he lacks. From the minute his emotion chip kicks in, you can pretty much count the scenes until he decides that all humans must be destroyed.
Much like in DBZ, Zeta from The Zeta Project was programmed to be heartless, emotionless, and a hitman. He ends up becoming a sweet, gentle, loving soul who's a rare male version of Friend to All Living Things (although this is sort of the best possible scenario you can have when your A.I. goes awry).
In the episode "App Trap", Timmy wishes for a magic smartphone that tries to take over his life, then tries to destroy him after he turns on it. It foreshadows this as soon as he gets it, saying that one of its features is a burning desire to control his life.
In the DuckTales episode "Armstrong", Armstrong (one of Gyro Gearloose's creations) malfunctions and starts stealing Scrooge's money.
Hacker, the main villain of the PBS Kids animated show Cyberchase, is an evil computer program created by Dr. Marbles to serve and protect Mother Board, but instead, he wanted to destroy her and control Cyberspace himself. As punishment, Hacker is banished to the Northern Frontier, and he stayed there ever since (though he sometimes escapes from his supposed prison via a ship called the Grim Wreaker), constantly devising schemes to bring down Mother Board again...
The recurring villain Zag-RS from Generator Rex. All the omnicidal mania of GLaDOS, with none of the entertaining snark.
In Ben 10 Generator Rex Heroes United we meet Alpha, a nanite designed to control other nanites that gets the idea to become a techno-god by absorbing all nanites on Earth-which kills the lifeforms he takes them from. His creator was the same scientist that made Zag-RS.
In the episode "You Have 0 Friends", when Stan gets too many friends on Facebook and tries to cancel it, his Facebook page goes rogue and teleports him in a world similar to TRON. Of course, Stan stops it just by beating it in a game of Yahtzee.
One episode has the main characters visiting an abandoned amusement park attraction run by an all-knowing robot. It only goes mad with rage when Billy accidentally tricks it into a paradox:
Master Control: I never devoted any CPU cycles to (happiness). I guess I'm not happy at all... Billy: Why not? Master Control: I just haven't. Billy: Why not? Master Control:Because! Billy: Because why? Master Control:I DON'T KNOW! Billy: Haha! You don't know everything!
In the same episode, it's revealed that the Master Control was initially shut down because another dumb kid annoyed it to insanity. It was Billy's Dad.
Despite artificial intelligences being so common in Adventures of the Galaxy Rangers that they run everything from home systems to starbases, this trope is averted. Computer intelligences are treated with respect, and there is even psychiatric care available to them to prevent this trope from happening!
On Phineas and Ferb, Dr. Doofenshmirtz built a robot that tried to overthrow him because he was so bad at being evil that it concluded he would never take over the Tri-State Area. It's averted with Norm, though, who rescues him despite the terrible treatment.
Averted and parodied in Archer when a virus is attacking the ISIS mainframe:
Malory: Just turn off the mainframe! Lana (holding up a plug): Yeah... we tried that. Malory: Wha... then how is it still on?! Krieger: Because the worm has transformed the mainframe into a sentient being. Malory: WHAT?! Krieger: I'm kidding, there's a battery backup.
Curly: Ah-ah, naughty naughty! You know swearing's not allowed on TV!
Judge: (angrily) RAISE YOUR RIGHT HAND!! (The Stooges do but they extended them right through the ceiling, causing rubble to rain down on the judge. To camera) If I could swear, I'd swear I was trying the three stupidest men in America!!
Aya on Green Lantern: The Animated Series is a Double Subversion; she's loyal to Hal and company in season 1, then in season 2 after Razer refuses to admit he's in love with her (she reminded him of his deceased wife), she begins to question the concept of emotion, turns hers off, and once seeing "logically," decides it's a good idea to rip off the head of the Anti-Monitor, take control of his body and the Manhunters, and becoming an Omnicidal Maniac bent on destroying all life (purge all emotional beings and you'll have a better universe for... whatever's left. If nothing's left, that's okay; emotional beings still need a Mercy Kill). The heroes eventually manage to bring her back to her senses, but she apparently has to purge herself and all copies to stop the crisis she caused.
In the Grojband episode "Helmet", when Corey's voice starts to crack from anxiety over their next gig, Kin gives him a helmet that can automatically "auto-tone" his speech and the helmet goes rogue after Trina presses its evil button (Given that an opportunity to sabotage the band did present itself for her, it's no suprise). After Corey takes it off (by fighting it), it goes around making everything "perfect" using a ray to physically improve anything it zaps; this includes the band's destroyed instruments, which they use to defeat it.
In the Hi Hi Puffy AmiYumi episode "Home Insecurity", Yumi's security system that she installed in her room to prevent Ami from using her computer goes berserk when it comes to a logical paradox: she set it to attack anyone that comes into the room and it took the "anyone" part too seriously.
In the New Year's Eve episode of China IL, the staff's robotic doubles turn on them when they overhear their plans to shut them down at midnight.
In the second act of the Mr Bogus episode "Meet Mr. Bogus", Bogus rewires the TV remote so that it could control other appliances, but unfortunately, that causes all of the appliances in the house to go berserk, among them a vacuum cleaner that looked like that it came from hell.
On Danger Mouse, this would be Grovel, the robot servant of the alien Quark. Every time his name is called, he drops to the ground and grovels.
In "Mechanised Mayhem," DM turns the Mega-Brain Research Center computer (500 MB floppies) into so much of a pile of nuts and bolts by telling it the old "My dog has no nose" joke. It tries to process the joke but it fails, blowing up in the process.
In the Aqua Teen Hunger Force episode "Robositter", Frylock builds the titular robot to make sure Meatwad doesn't do anything stupid while he and Shake are working at the mall. The robot becomes murderous toward Meatwad before devolving into a stereotypical valley girl with crude attachments to emulate the appearance of a teenaged girl, then when Frylock finds her too much of a bitch to stomach he liquefies her when she asks for her paycheck.
G.L.A.D.I.S. from Totally Spies! is usually just an annoying Deadpan Snarker, not evil. However, in one episode, (at an office Christmas party that Jerry pretty much dragged the three protagonists too) she becomes homicidal after Clover spills punch on her cabinet. Jerry later admits, embarrassed, that he programmed her by downloading the intelligence from the brain of an insane Evil Genius who is in prison for trying to start World War III, and when they question the inmate, they find out that he's allergic to cranberries (which make him "even crazier than usual"); Clover realizes that the punch was cranberry flavored. The Spies are forced to accept the madman's help before G.L.A.D.I.S. carries out his original plan, which involves tricking the world's superpowers into launching its nuclear arsenals at each other.