China does not. It is that simple, basically.
https://en.wikipedia.org/wiki/Altai_gas_pipeline
https://www.reuters.com/business/energy/putin-says-oil-pipel...
Ukraine alone can take that out. Cruise missiles, sabotage, special forces, mercenaries. You don't even need to explicitly destroy it, Russians and Chinese build poor infrastructure.
Sarah Paine, a prof at the Naval War college really opened my eyes to this and the Belt and Road. Marine shipping is basically free. Keeping rail lines and pipelines intact over thousands and thousands of miles in Asia through desert wastes, mountains, tundra, and a half dozen politically iffy -stans is not a recipe for efficient trade logistics.
And China and Russia hate each other. Strange bedfellows, but would China want to rely on Russia for oil if it invades Taiwan and Russia has their country's oil supply in a firm iron grip? Putin? Nope nope nope.
As another comment in this thread has already mentioned, they have sufficient local production to fuel their war machine, while restricting other uses.
> Ukraine alone can take that out.
It's actually quite interesting. Are you aware that there is a pipeline running from Russia through Ukraine that pumps Russian gas to the EU? Ukraine earns $800 million USD a year from this. Then, they buy back that gas. Life is a little more complicated than it seems.
> And China and Russia hate each other. Strange bedfellows, but would China want to rely on Russia for oil if it invades Taiwan and Russia has their country's oil supply in a firm iron grip? Putin? Nope nope nope.
It doesn't matter whether they hate or love each other, the only thing that matters is interests. Stalin was called a dictator and a ruthless killer by the West, but when he changed sides, he was suddenly 'Uncle Joe.'
China will only invade Taiwan if the US forces their hand. In the short term, it's against their interests to invade Taiwan, just as Taiwan prefers to maintain the status quo. They know that if they invade, the US can say, 'You see? We told you. Look what they are doing' which would result in sanctions from the US and EU and lead to internal problems. Why would they do it? It's neither logical nor rational, and it goes against their culture. There's a Chinese saying: 'The wise win before the fight while the ignorant fight to win'.