The above shows just how different the public thinks AI is from how it really works. The current technology can not create new things. Yes you can ask it write a program in Python that already exists. Like "write a program to blink an LED" and this works because the model was trained on hunded of blogsthat show beginnig students how to make an LED blink.
But what it can't do is this "Hey GPT, our robot code is designed to keep the center of gravity inside the support polygon. This is good, but to work better we need to keep the zero-moment point inside the polygon. Can you modify the code to use IMU data to do this."
The current tech is not able to do the second example, and it is not "just a matter of time" until it can. It is like waiting for railway locomotive technology to be able to fly. It never will. We need very different technology to fly, not just upgraded trains.
Our current AI tech has ZERO understanding of what it does. The harder coding request absolutely requires understanding and not just a huge memory.
That said, MANY interesting problems can be solved using only "huge memory". Most of us in our day-to-day lives don't need to invent new things