Engineers are not going anywhere, they are going to fill the spaces outside of coding that are still critical to shipping new product.
Here is a post that summarizes what I mean: https://substack.com/home/post/p-200064883
Here is a post that summarizes what I mean: https://substack.com/home/post/p-200064883
Since engineering with AI is still very technical, I would wager that software engineers would stretch into less technical areas of software development rather than TPMs stretching into technical areas. I only say this as someone with experience with AI and I see how easy it is to write bad code with AI if you're not aware of what it's doing.