Bad idea. Unneeded infrastructure isn't cheap to maintain. It would have to be a bike trail and it's still of limited usefulness when the internet exists and there is no infrastructure to maintain vehicles.
What Africa needs is sustained investment. That will drive people to leave villages, but Western investors (and governments) are as short sighted as they can possibly be.
To invest, you literally have to come in with a security team / truckload of weapons or someone is paid (Wagner / Chinese government) to do it. The invested operation has to be vertically integrated with hand-picked assets, human resources, and supply chain. Very difficult situation to do in a way where the general populace benefits. In cases like Zimbabwe where farmers came in and did sustained investment, it did work having the tribal populace as helping hands but as soon as the reigns were handed over they immediately gutted everything and it went to shit followed by hyperinflation and mass starvation.
Very difficult problem that no one has really figured out. Kenya and Rwanda some of the more interesting leading edges in sub-saharan mainland africa as far as economics are looking.