It might be in China and India's national interests to do so unilaterally.
China at least seems to have come to the conclusion that (a) they need to continue to expand total electrical production for economic reasons, (b) decreasing dependence on external fossil fuel producing countries is preferred, (c) there are cost advantages to generation from renewables, and (d) there's geopolitical mileage with other countries to be seen as ecologically forward.