Just out of curiosity how hard would it be to re-fit such a foundary to modern <5nm cpu fabs with ASML/Zeiss directly around the corner.
You don't re-fit a fab, you build it from scratch. There is very little technological overlap where it matters due to the shift to EUV. You'd essentially have to scrap >75% of the fab to fit in the new equipment.
Heck, I can use crappy chips for every home appliance and home IOT device.
Sure I want high end stuff for my laptop so I can do AI, but that is just 1 application.
Things like microcontrollers thrive on the 180nm to 28nm nodes.
And even 74HC series logic chips are still being manufactured by Texas Instruments and Nexperia (former NXP/Philips). All fab capacity gets used.
I'm no expert though so might be off by a mile here.