“A tale in two headlines”: https://fediscience.org/@dsacer/111007293723878427
Yes, it typically takes time for new, expensive tech to trickle down to poor countries.
It is not the price it is intrest. Renewables cost a lot of money in the beginning, but are pretty much free afterwards. For example first you have to buy and install the solar panels, but then maintanence is very rarer and basicly free for years. However fossil fuels are cheap in the beginning, but expensive later on. So when you buy a diesel generator, the generator is initally pretty cheap, but you have to buy diesel every time you need power.
The solution is to set up a large fond, able to invest in many poor countries and spread the political risk. Preferablly guranteed by a large rich country outside it. That might end up as one of the best investments possible for everybody involved.
The other question is how to deal with corruption of leadership in poor countries. Funds tend to get diverted, equipment gets diverted and resold on black market, etc. Corrupt fucks make the best of intentions impossible to actually realize.
A lot of small investments into small cooperatives and companies, for the investment site of things.
Other then that create local leadership and a culture of no tollereance for corruption. However that is a problem the locals have to solve.
Honestly the culture of corruption is so ingrained in some places that a patriarchal approach that doesn’t give the fuckers a chance is the only thing I can imagine working (you’re too corrupt for us to let you do it, we’re doing it for you but we’ll train your people and insist on annual audits and terms that will absolutely break you if you try to steal from it).