China doesn’t have the infrastructure or logistics to wage a far from home operation against a similar power country (let alone the USA). They might get there in a decade or two, but right now there isn’t much they can do besides provide material support.
Their whole move to EVs is more about national security as it is about environment. Not having to get into wars about oil because you don’t need so much is it’s own freedom.