In the book Accelerando by Charles Stross artificial intelligence and mixes of AI and downloaded Humans take over to form a "Matrisoshka brain". It seems that this is the normal evolution all over the universe. All matter in the whole solarsystem is being dismantled and converted into a vast distributed computing devise.
The last humans flee. The are aided by an AI in the form of an alien pyramid scheme crossed with a 419 scam. The pyramid scheme had to flee, because it was not as efficient as the competition that ran rings around it using "Economy 2.0" tricks, and it was about to be dismantled and recycled into something more efficient.
Free eBook edition available here:
http://www.antipope.org/charlie/blog...ndo-intro.html
Recommended reading - no connection.