There is actually even worse code quality written by humans, is that small sample also a reflection of human-driven development? And therefore, the future doesn't look promising that way either?
The same story for Google's products - their products were always buggy even before AI. And so is the case for Microsoft.
I think the reasonable argument is that AI or not, software problems are hard problems to solve. And software is constantly evolving. AI isn't a magic wand. It also depends a lot on the humans using it, including prompting and context supplied to it.
Drawing a massive conclusion from a tiny, unrepresentative sample is just hasty generalization.