One way to avoid a 'robot apocalypse' would be to just outright ban artificial intelligence. But what if they wanted to keep some computers around, just for practical reasons? What kind of limitations would they place to keep them from becoming too powerful?
There are two ways I can imagine them going about this: ban computers with specs above a certain limit or more simply just ban certain hardware (like CPUs). I doubt they would put a ban on what kind of software computers could have though because really there would be no way to ban software without also banning everything else. Taking classes in programming myself, I know that even a few 'tags' can be used to make a surprising variety of programs. Really, most everything is just made up of 'if-then' statements.
But really, if they did put a ban on powerful computers, this would cause other issues. Could computers still continue to shrink in size over time, as long as companies didn't produce computers with specs above the limit? If so, wouldn't that open up the possibility of someone making a super-intelligent computer again?
I imagine people would at least like to keep around databases, and maybe office programs. Primitive games may also be tolerated, though 3-d games would likely be a thing of the past. Some nations may just ban computers in general. Or allow nothing more advanced than a simple hand calculator. And by 'simple', I mean the kind that can't draw graphs and can only really do addition, subtraction, multiplication, and division.
Of course, despite their best efforts, there would still be high-end computers floating around, and there would still be people with the knowledge to make more. And I'm certain a rogue nation wouldn't mind trying to develop advanced AI for military purposes.
As for the conworld I had in mind, I imagine a world where a robot uprising occurred. They managed to suppress it, and now everyone wants to avoid any further advances in AI or the level of AI that allowed the uprising to occur in the first place. This would create a kind of retro-futuristic world since all current technologies would have to rely solely on older tech as high-end computing wouldn't be tolerated.