The productivity of AI is high. Depending on the task at hand, let's say it's UI, he's not going to produce the volume AI will.
I'm not saying using AI is smart long term. It will brain rot you completely, and you will lose meaningful skills. But these companies don't care about developers' maintaining continued learning or even retained learning. They just want to extract volume. But once they spit you out you'll have no independent skills. And saying you can prompt bots good at a job interview won't be enough because everyone can do that. Using AI is a kind of mental hazard, and no one is getting hazard pay. Unless the job is paying enough to retire in 5 years it isn't enough. Continued development is a critical part of having sufficient compensation. And these prompt jobs don't offer that. So people should quit them.