There's a very famous story by Issac Asimov on the subject. Basically, humans create a supercomputer to solve all their technical problems, it's so advanced, no one person really understands how it works. As a goof, some programmers ask it, "What happens when the universal entropy consumes the universe?" The computer's output, "Insufficient data." Human technology advances, spreads across the universe, and the computer advances too, becoming more complicated and less understandable, with the same reply to the same question, "Insufficient data." Humanity advances to a disembodied consciousness, spread out across the universe, as more and more stars exhaust their fuel, the computer is so huge it must be stored in a higher dimension, and is merged with the human race's consciousness. The same question is asked, as a last gasp, and the computer replies, "Insufficient data for meaningful answer."
Left alone, observing a cold, dead universe, the computer churns though it's calculations, and solves the problem. But there is no one left to hear the answer. Over time scales that are meaningless to lesser minds, it gathers the residual subatomic particles, to a massive explosion --
Let there be light.