There are pockets of strong companies and industries, just not enough to power the broader economy.
Taiwan’s population is also starting to shrink soon and also aging so demand is reducing similar to Japan.
To be fair Taiwan has a LOT of disadvantages compared to a massive country with resources and military power like the US. They are not comparable situations .
But does Taiwan need to attract more foreign investment and professionals to live here , definitely.