I agree with the author that AI has the tragic ability to replace junior developers, but not senior ones. The problem is that the only way to become a senior developer is to have been a junior developer, so that in a few years, the lack of junior developers today will mean a lack of senior developers tomorrow.
As a software architect, I know the complaint: many senior developers hate working with junior developers, because it takes them more time to supervise the junior developer than to write the code themselves. AI gives them (senior developers) a chance to do what the junior developer would do a little slower, an order of magnitude faster; so why train a junior developer?
I suppose in five years, all senior developers will be poached from open source projects, since that's the only pipeline remaining.