A sufficiently large stockpile of uranium gives China time to simply pivot away from depending on imported Uranium (either by building new mines locally or building out solar or such). An equivalent stockpile of oil simply isn't feasible, if only because oil is usually used directly and not via a source-agnostic electrical grid.