I’m in two minds over whether the US wants military conflict. I think there’s a school of thought that says it should, but there’s also a school of thought that believes that the US can strangle China’s economy sufficiently until the US retools its production and demographics begin playing a role. Based on the US’ stance recently, I think they’re content to build up and disrupt China economically.The third point becomes operationally effective for China by next year, which is also why the US is trying to accelerate a military conflict, but this also isn't taking into consideration the rest of the Axis of Resistance at play either (especially Russia, Iran and North Korea).
The axis is a different question. The DPRK may come into play if ROK does, and arguably it would make sense for China to put Korea back into play, as it gives the PLA something to do. But even if they take the entire peninsula, it still doesn’t solve the fundamental question of access to resources.
China could try to sort access to fuel via land corridors with Russia and Iran. To date those projects seem to be going slowly. The Russian pipeline is bogged down in negotiations. The corridor to Iran goes through Pakistan, and that country seems to be half-run by the CIA, with the other half not run at all.
Even if the basic energy concerns were sorted, issues of for instance iron ore shipments arise, not to mention the export-led economy. An overland belt and road project makes sense to address those issues, but it’s not quite there yet. Not to mention that overland is less efficient than sea transport, so even if China is able to sort out and protect an overland transportation network, it’s less competitive than its western-bloc sea peers.
That’s not to say these things can’t be done. Look at North Korea: it has successfully pursued autarky, made the (very sound) investment in artillery, and now is on the cusp of a nuclear triad. On the other hand, compared to China it’s small fry. For the US, the cost of handling the DPRK isn’t worth the benefit. Whereas with China, the prize is the world.