To be specific, I would say that the superintelligence apocalypse is to religion what hard sci-fi is to the fantasy genre. Same content and purpose, but with a veneer of rational plausibility that makes it easier for scientific minds to suspend disbelief