It's not clear to me that the people making the hiring/firing decisions, and deciding how many programmers can be replaced by AI, know the difference between the copy-paste coders you're talking about and the people who are doing the harder things.
And, given the way they think, and given the fact that all of us are subject to a whole host of cognitive biases, some places at least are likely to want to keep on the cheap copy-paste types than the more expensive senior programmers.
Short term, things will look good. Quarterly reports will be up. It will take longer for companies to realize that they've made a mistake and everything is going to shit, but because of the emphasis on quarterly returns, plus because all of these companies are caught up on the groupthink bandwagon of the AI evangilists, a lot of them as institutions may not be able to properly diagnose why things went to shit. (Even if individuals within the institutions do.)
I'm in science (astronomy) myself, and the push here is not quite as overwhelming as it is in the private sector. Still, I've seen people who should know better say "an AI can just do that more efficiently".