AI Apocalypse Amid Cosmic Destruction and Rebirth