Nonprofits backed by the Rockefeller Foundation and the World Bank have won tens of millions of dollars to boost the productivity of African farmers using an array of solar-power devices.