The MIT media lab created an artificial intelligence to write short horror stories. Shelley, as the AI was later named , came up tales that are the stuff of nightmares.