Writing tests after the fact is way harder than writing code to be testable. You're pretty much guaranteed to miss edge conditions, which tend to be the cases LLMs often screw up.
You seem to be assuming that we're generating large amounts of code with LLMs that we don't read and adapt and make our own. I can definitely see that as a risk for overconfident juniors, but that is not the MO for senior developers who are using these tools.
95% of the code that I add from an LLM is less than a line, a nice autocomplete. The other 5% is a function that I have ChatGPT get started for me and then I read it and refactor it until I understand it as well as any code I've written myself.
The rampant fearmongering is just weird to me. It's a tool, and like any tool some people abuse it, but it's weird that some people simply can't believe that there are people who use it well.
When someone posted LLM-generated elisp on HN, it used a non-existent escape code in a regexp. Huge conversation, nobody but me realized that bug.