AI will beat humans at all tasks that are not subjective (such as a landing page being pretty), but instead can be determined to be correct or not (does an endpoint return the correct data? how fast?)
Just like a chess engine beats any human.
People think LLMs are still at the point of programming based on what they learned from the data they scraped. We're well past that. We're at the point of heavy reinforcement learning. LLMs will train on billions of LoC of synthetic code they generate, like chess engines train on self-play games.