Roald Dahl, in 1954, wrote The Great Automatic Grammatizator. In it, was a machine that could create texts as if they were written by a human author.
And now, 76 years later, we have GPT-3 from OpenAI. The code is derived from their paper Language Models are Few-Shot Learners and can generate samples of news articles which human evaluators have difficulty distinguishing from articles written by humans.