Robots intelligently deciding to rebel against the human race are a pretty common staple of any sci-fi with intelligent artificial life. Mega Man is probably the exception, with almost every case of robots rebelling, more or less, the machinations of Dr. Wily (a human manipulating them for his own ends). Everything from robots like Dark Man or King, to the later maverick virus, and everything it caused were Dr. Wily's fault.