GloFo was never long-term sustainable, so they basically had a choice between going bankrupt in 1-2 years trying to do 7 nm or coasting on 14 nm and slowly withering away over 5-10 years.
Just not making fast cpus.
I don’t see GF going away any time soon. They’re a huge player with a lot of customers.