No, it's because of renewables. Share of oil in total energy consumption hasn't increased since the sanctions, while wind and solar have been consistently increasing. Coal is down (again, as a share of total energy consumption).
Source: https://ourworldindata.org/profile/energy/china
https://ourworldindata.org/grapher/share-energy-source-sub?c...
gas (ofss fuel) is increasing a lot... So yeah, there is some renewables, but we're still pretty far from what is needed...
https://ourworldindata.org/grapher/share-energy-source-sub?c...
gas (ofss fuel) is increasing a lot... So yeah, there is some renewables, but we're still pretty far from what is needed...