Congratulations, you just started the apocalypses.
If they had all the same mental capacity as humans, than think about the last time there was slavery, except this time it would be robots.
Have you ever been punched in the face by a metal fist? Getting punched by a robot fist would make a human fist feel like a pillow fight.
The human brain is flawed, an AI brain wouldn't be, they wouldn't forget anything, they would know more than anyone could ever imagine. And everyone knows Knowledge=power.