From the last time I looked into it (I may be recalling this incorrectly): the script is AI generated text that the writer sifted through, edited, and stitched together to form an amusing, vaguely coherent narrative.
So it's perhaps closer to "inspired by AI" than "written by AI".
"Netflix worked with Keaton Patti, who's done this bot thing before. This time round the bot watched over 400,000 hours of horror movies before penning its great masterpiece, 'Mr. Puzzles Wants You to Be Less Alive'."