Good point. I'm not among the camp who thinks technical people will be completely replaced by AI. I am part of the camp that believes AI will master hard skills long before it can master soft skills.
You can automate the repetitive busywork, but not the actual inspiration and direction - not without AGI. And once you have AGI, there's no need for humans at all anymore.