I'm not the person you're responding to, but there are some counterpoints to your arguments.
China's stockpile of oil is only enough for a few months and that is only assuming that nothing happens to the stockpiles or the ability to access them. China does have a lot of renewable energy infrastructure, but these numbers don't convert directly into oil not being important. Oil is still very important. Their military runs on oil and for many kinds of products oil has no alternative. A lot of their population still uses ICE cars. You can put a percentage on it, like they are 60% less reliant on oil, but these numbers are useless if they still fundamentally rely on it in critically important ways. Which, they do.
Russian oil infrastructure has been under attack, which shows China that their oil imports from Russia are not guaranteed and their own infrastructure can be reached. Being at Venezuela and Iran's doorstep also shows that oil imports from them are not guaranteed.
As far as Iran goes, they can harass, but they can also lose all of their income and imports. While Iran and Russia are being scaled down, more western energy infrastructure can be coming online to replace it over the coming years even if this current situation gets resolved soon. Iran is being boxed in militarily, politically, economically, and more. They can troll, but even their trolling options are being slowly reduced. Their long range missiles can only achieve those ranges by removing the warhead and adding extra fuel. They are incapable of defending the island that most of their income flows through.
Speaking of islands. Xi Jinping absolutely wants to take Taiwan and he's been purging his military just like Stalin did before he invaded Poland and Finland. They've been building out manmade islands and military bases in the sea to increase their claim and threaten anyone who would intervene.
There is also a very big difference between political or token recognition of Taiwan as part of China as a cost of doing business vs real belief. The CCP sees Taiwan as a threat to harmony, because it serves as an example of democracy which China will always be a poor example of. If the CCP falls, Taiwan might be able to serve as a new center of gravity, which was also a credible threat from Hong Kong. That is the flip side of the "One China" policy, where it's only good for them so long as the CCP survives. Even without that, travel and communications between them increases interest in a true democracy that gets compared every time the CCP fails at something. COVID, property investment, unemployment, you name it. Ukraine was a similar issue with Russia, partly because they see Russian language and culture as an encapsulation that their mechanisms of control need to dominate within.
Taiwan is in very close proximity, so even if there is a lot of leverage against China from all angles, if they put everything into it they would probably be able to do it at great cost. They don't have the capability matrix to sufficiently achieve a Venezuela. If they tried that right now, it would just start a new 100 years of humiliation if the clock didn't already start the day Xi Jinping got in.