US's economy would literally tank if they bailed on Taiwan anytime in the near future; 10-20 years. They are too tied at the hip to bail. They're another Israel, except Taiwan actually produces things for the U.S.
On the converse, China is not invading Taiwan either. It's posturing. They can't do it without taking significant losses. Taiwan is harder to attack Geographically than many people realize, and Taiwan would literally burn the island to the ground once China was able to invade. You can only invade Taiwan for a limited period of time during the year. China however is waiting for the U.S. to have a Thor: Ragnarok moment. January 6th could've been that. If there is something similar to January 6th for the 2024 election, than it wouldn't surprise me if they pull something shortly after...However, the U.S. would still be committed to supporting them.
If Taiwan gets attacked, Japan, South Korea have already committed to supporting militarily and most likely Australia and India would jump into that conflict.
China could play that if they want to, but it doesn't make sense to do it in the immediate, they do not have enough power to lead a successful campaign on the island without landing a pyrrhic victory.
This is not true at all!