People like to talk about code as craft and art but the vast majority of the code that was written has always been mediocre at best. LLMs already beat it.
A focused experienced skilled programmer can do better but the market niche for that kind of code is actually small. Most commercial code just has to be good enough to accomplish a business need.