Once we have the TSMC semiconductor plant operational in Arizona we’ll have less need of Taiwan. Anyways the Taiwanese people themselves are evenly divided concerning China with half of them willing to accept being absorbed by China. So not worth a world war over it.
Personally, I doubt the Chinese will invade. It’ll be more like Hong Kong. An agreement, more influence, elite capture. And when they land in Taiwan, it’ll be at Taipei Airport and they’ll walk down a red carpet.