Sad to see that to some extent that's exactly what happened. My current tech take is that developers shouldn't allow AI and/or agents to do the entirety of their job, rather allow them to do more, and it should be framed as such specifically. e.g. don't use AI to write the entire feature, use it to make the feature better and drive more revenue, or more correct and result in less bugs, thus less wasted effort on ops/etc.
It's amusing to see some people excited for AI to do the entirety of the implementation and planning, as if there would be no impact on us. If AI is that good, you just need TPMs (to the extent it's even possible, anyway).
It's no surprise to see that jobs that cannot be done remotely are making a comeback.