Global politics are always very messy and ultimatums don't help.
Chinese companies are simply offering a good financial package to these people with valuable skill sets. TSMC can pay it's employees to retain they can certainly afford to.
Taiwan is not officially exporting talent to China.
No country wants their best people to leave, US and countries have used their wealth to attract the best from developing countries and benefited immensely, china is also using a similar strategy
Huawei doesn't have much of a future outside of China and the increasing distrust towards CPP doesn't look like changing this anytime soon.
So why would you want to help them out instead of trying to win business from US/EU companies who are desperately looking to diversify.
Furthermore, Huawei isn't the only Chinese party that needs advanced chips. Other Chinese phone makers such as Oppo and Xiaomi aren't banned. But they have become wary of US dependence and are seeking to decouple their semiconductor supply chain from the US. To them, while Korean suppliers are more risky than Chinese suppliers (which still need time to catch up), it's still less risky than TSMC.
But with the Belt and Road Initiative struggling to deliver on many of its infrastructure projects countries are increasingly reluctant to get back into bed with China. More so now that the world has seen what happens if you don't bow down to China's every demand i.e. Australian style economic blackout.
My point still stands that if I was a fab right now I would be far more attracted to the growth prospects of US/EU companies than Chinese ones.
I've seen this narrative along with CPEC failure, but is it? Considering that US wants to join the infrastructure development game indicates it unlikely.
Countries are looking at what happened in places like Sri Lanka [1] and pulling out.
https://www.nytimes.com/2018/06/25/world/asia/china-sri-lank...
Which is unfortunate for them I suppose as they'll have to learn the hard way just like the west has learned.
Tell it to every US ally trying its hardeest to play the situation