The war in Iran is sharpening China’s advantage in promoting a renewable energy future, as oil disruptions expose the fragility of fossil fuel systems.