In my experience documentation generation has a lower error rate than code generation, and the costs of errors are lower too.
I'm not really a big fan of AI agents writing features end-to-end, but I can definitely see them updating documentation alongside pull requests.