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".
Don't mind the man behind the curtain.