Another way to fix the problem would be to help Ukraine a bit more and forcibly take the gas from Russia as reparations. At this point it’s obvious their military was all bluff.
This doesn’t even change the final outcome, it just speeds it up - USA won’t allow Russia to become China’s asset, and there aren’t that many options to guarantee that.