The entire final storyline is about an AI trying to take over -- if you haven't watched it, you should! But many of my friends who live and work in Silicon Valley can't stand watching it, because it strikes too close to home, not because it isn't funny.
I think it's much more likely that Elon Musk fucked a robot, after having mistaken it for a human being in a robot suit.