It is because the average developer has outsourced all product thinking to an external team. The gravy train might actually be over for the Software Engineer that takes a Jira ticket and produces a PR, but in my opinion the demand for Product Engineers is only going to increase.
However it will be similar to cybersecurity in that there will be no 'entry level' product engineer. It will probably have requirements having worked in customer service or finance or some other adjacent field to get a larger picture of what you are delivering. You will also not need 3000 of these individuals anymore (did we ever really??)
I can see a world where you go from "AI Shepard Customer Success rep" -> some middle role with increasing 'product' responsibilities -> Product Engineer.
The new roles will also probably be more generic - instead of backend and frontend you have 'Backend' (Infra + API) and 'Frontend' (Frontend + Design) and both of these roles will require genuine product thinking