I'm not even interested in untangling the intricacies of what happened. They show's run came down to:
Humans make sentient robots.
Humans mistreat those robots.
Robots revolt.
Robots take over the world causing extinction of the human race.
Remaining robots decide they don't like earth either and retreat to a virtual world of their own making.
It's a perfectly acceptable dystopian science fiction plot. They spent a ton of money on it and made it look pretty good. The details didn't always make sense, but that's ok. Time for the next idea.
Humans make sentient robots.
Humans mistreat those robots.
Robots revolt.
Robots take over the world causing extinction of the human race.
Remaining robots decide they don't like earth either and retreat to a virtual world of their own making.
It's a perfectly acceptable dystopian science fiction plot. They spent a ton of money on it and made it look pretty good. The details didn't always make sense, but that's ok. Time for the next idea.