The crisis has squeezed oil and gas revenues and investment, forcing producers to reassess their strategies to align with technology and policy shifts. Renewables have taken off, with solar leading the way. But a slowdown in improving access to electricity and a risk of under-investment in grids are warning signs for the future.