At the end of the day the leadership is who makes the decisions. The notion of a "country" does not.
What Xi has said so far may have been misrepresented by the media, and exaggerated to rally public support for the new Cold War and for more military spending. What Xi actually said is he would not allow formal independence of Taiwan, and that he prefers closer relations/integration with Taiwan for an eventual "reunited" outcome, saying nothing of the status quo or that he would change it by force. For as long as the economic deterrence exists, I highly doubt that a war would happen over Taiwan barring one of 2 scenarios: 1)Taiwan declears formal independence by amending its Constitution, or 2) western troops, bases, or "security guarantees" are established over Taiwan
China does. Xi does not. Trump has been the bailout to Xi that China’s wolf warriors and Putin were to America after the Iraq & Afghanistan wars.