So 2 of the 5 permanent members of the UN is already not going to do this.
And it is not only limited to non-western countries, the same argument holds for Spain with Catalonia for instance.
Real-politik is complicated.
It's best to think of the UN as a meeting place where consensus can form, rather than as a law making body with a well functioning appeal and dispute resolution process for its own deliberations.
Even the US has been very carefully not fully committing to a defense of Taiwan, giving China the impression (according to some reports) that they might get away with it if they just act quickly enough.
Of course, none of this affects non-military threats to TSMC's production, like earthquakes.
My previous comment on a previous post: https://news.ycombinator.com/item?id=26382543
Seems relevant.
I think if I were Taiwan, it would be US bases or we leave the NPT and build some warheads...