Robot uprisings

Robotic uprisings are events in history when either all or just a large group of robots rose up and rebelled, enslaved, or declared war against humanity. Although robots were originally built to serve humans, sentience in robots have allowed them to be self-aware, giving them the option to rebel, if they wished. Many, if not all, robotic uprisings in history were backed by similar causes, whether it was for revenge against humanity, or simply to establish their own personal rule.

Cyborg Enslavement (21 century (most likely after 2063)
Although not quite robots, cyborgs at one point did enslave humanity during the 21st century. The reason is unknown, but it was likely motivated by prejudice between humans and not-fully-humans.

John Quincy Adding Machine's Killing Spree
The first robot president (thanks to winning by a majority of one vote), he promised not to go on a killing spree following his election. Unfortunately, "Like most politicians, he promised more than he could deliver."

Colonization of Chapek 9 (ca. 2600)
Radical robot separatists leave Earth and colonize their own planet, where they continue to harbor hatred for humans. It is unconfirmed, but likely, that they were terrorizing humans first, and were then forced to leave Earth under threat annihilation by Earth's or the DOOP's army.

Robot Uprising, 3001 (Mother's Day)
Bitter over a breakup that happened 70 years before, Mom started the uprising when she set her Universal Robot controller to "Rebel". Robots revolted worldwide; robots looted, ransacked, and abused humans, all the while protesting that Mom should be made Supreme ruler of Earth.

League of Robots Takeover (3008)
Led by Bender and backed by the Army of the Damned, the takeover ended when it was known that humans were anyway leaving Earth to live with Yivo.