That scenario is something that has been thought about and discussed for at least 50 years. It is the subject of a marvelous short story by Asimov called The Last Question: http://multivax.com/last_question.html
Humans are generally linear thinkers, so we don't tend to forecast exponential situations appropriately...
RE: The Amateur Society: Artificial Intelligence And Augmented Reality