A niche investment text from the 1990s may explain why powerful tech leaders fixate on the apocalypse