Stephen Wolfram found an interesting connection between nineteenth-century science on the end of everything, and the idea of the multiverse. Let’s explore this.