In science fiction AI is created on high-security systems and has to become fully self-aware and then jump through security hoops to escape into the wild.
In reality these things are going to be on dev machines with little security and are going to be uploading themselves to GitHub before they even really understand what they’re doing. Complete with GPL licenses. Steve Ballmer was right.