Actually I've found the "React monkeys" you dismiss to be the people who work with product & UX on what the actually product being developed should do. The "backend people" who write API plumbing and DB tables are the ones I'd worry about.
That's a good point. However, it could also happen that a good chunk of frontend work gets folded directly into the product owner/manager role. Hard to say which way things could go but it's interesting to speculate.
Yes, while I agree AI code gen will be disruptive, I have a very hard time believing PMs or UX will soon be able to "talk to AI" and get an actual logical product out of that. The subset I've worked with certainly wouldn't. Feels like possibly the engineers will do more PM work.