With this whole RBE thing, it seems to me that the last thingt to worry about is the robots taking over. Robots are machines. They will do what they are programmed to do, and no more. It would be asinine to give them the power to reason and the physical ability to do so.
The Master Planetary Brain was a recurring theme in Star Trek. It typically would not allow the humanoid inhabitants to progress, but it would always be driven to self-destruct by Captain Kirk with one of his logic puzzles.
"Illogical! Illogical!" it would say, and then start smoking and sparking, followed by its ultimate collapse. This thing had dominated a planet for 10,000 years, but five minutes of Kirk was enough to fry all its circuitry. Occasionally Spock would assist, and was always standing by
to get in the last pithy word.
This makes for good TV, but it is hardly likely.