This is very much like the people saying airplanes will never fly after watching the prototypes fail in the 1900s.
It’s 100% guaranteed that computers will be able to write software much better and faster than humans. The only variable is how long it will take.
I think within a decade. Could be wrong and it could be two decades but I doubt it.
Think about it - these bots are already being used by humans to solve tasks every day. The only difference now compared to the future is that now there is a slow human typing something on a keyboard.
In the future, you will have bots talking to bots, millions of times per second, and models will learn in real time, not being pre-trained.