Highly recommend "When We Cease to Understand the World" by Labatut, a lot of it concerns the different strains of apocalyptic thinking among the early 20th century scientists.