There are two possibilities. Either we live in a rules-based international order, in which case China would be punished for invading Taiwan. Or we live in a world where power decides outcomes, in which case China would still be punished, this time by the United States, which is arguably still the strongest actor.
Unless, of course, you’re suggesting that Trump effectively gave China the green light. Which is not out of the question, but I would find quite surprising.