Rural electrification is lighting up the Earth at night. But war, blackouts and energy policy are darkening some regions.