Also, a friend of mine has an idea that the first true unkillable AI will run inside a blockchain, and it would be economically infeasible to hack it as it would require owning more than 50% of its infrastructure. But that's still sci-fi.
Diamond age had a distributed tuple space, which was kind of similar in effect, enclaves that made their living off of work their computers did for digital pay.