The vast majority of engineers at Intel are not what you described. Most are CS/EE bachelors or masters that could go to dozens of other companies shipping hardware.
Now some of them do take the initiative and learn SW skills, or data analysis properly, and switch due to that. But the majority of them feel stuck. They have a heavy workload and do not feel they have time to learn new skills.
[1] For a long time, and perhaps even now, the fabs only hired either technicians or PhDs. An exemption would be needed to hire someone with "just" an MS. Of course, almost none of these jobs actually need PhD level skills.
The majority of Intel employees are directly related to the fab, but those employees are not mostly PhDs without many other job prospects.