Both are still increasing their total fossil fuel usage significantly. Even if they're deploying renewables at a high rate.
Both are also increasing coal usage.
Total and cumulative numbers are all that matter for global warming.
https://ourworldindata.org/fossil-fuels
https://ourworldindata.org/grapher/coal-production-by-countr...