Sonic X: Season 1, Episode 24
After defeating Eggman's E-88 robot, Sonic goes berserk because of an implanted control device.