Taiwan is too important to be ditched by the U.S. The day China conquers Taiwan is the day the Americans firmly lose their global tech dominance.One of the main goals of the Pivot to Asia is to protect Taiwan. I don't believe the US will leave Taiwan high and dry. The question is to what extent the US will actually help Taiwan. Since the Taiwanese require assured air superiority, the US could be capable of providing that support without needing to put boots on the ground. The fallout from air force and navy losses will be politically more affordable. And I don't think the US will miss such an opportunity to take out the PLAN before it becomes more powerful.
Otoh, China will have to risk losing its navy in a war with the US anytime before 2030, a setback that will take a minimum of 15 years to fix. Which is why I think their current stance on Taiwan is to push the world's focus away from Ladakh and elsewhere.