The tech world’s fixation on artificial intelligence has spawned beliefs and rituals that resemble religion — complete with digital deities, moral codes, and threats of damnation.