Nigeria is seeking $5.2 billion from the World Bank to expand electricity generation and help the economy recover from its first contraction in 25 years.