The planet’s ultimate petrostate is making a bet on clean energy — even as the Trump administration seeks to strangle solar and wind.