Its not a direct analogy, but this seems to me as like saying "I already know maths and english, why do we still hire and pay teachers". Its a massive issue that just seems to be hand-waved away as "we'll figure it out later".
To compound on the problem as well, even those of us who do still write code by hand are actively discouraged from sharing it, knowing no human will ever read it and we'll never be credited for our work, it'll just go in the pockets of a few big AI companies. I suppose there will be some that take some pride in knowing their code is helping AI models advance, but thats a small pool of an already small pool, assuming most people decide to just use the AI to write the code for them. A minority of a minority.
I guess this is the chickens coming home to roost of this whole attitude towards growth now, fallout later