Taiwan sees that threat and from my understanding has a scorched-earth policy where all their most valuable industries will be destroyed in the case of an invasion.
At that point, China would have little to gain and lots to lose. Unlike Hong Kong which was handed to them, Taiwan claims to be a sovereign state.