Chinese investment in Africa has fallen 40% this year—but it’s not all bad news