Inviting the beast to take up residence in your home isn't "success".
Commerce and industry makes the world go around. Native Ghanaians, re-pats/children of those who left, and Black ex-pats from other countries have built up infrastructure and different industries in that country.
Large company sees the business potential, invests, and helps spur development in related industries.
Leader of the country just put the Swiss chocolate manufacturing industry on alert that the business status quo is going to change.
All developing countries have had experience with foreign investment before. Have made mistakes and seen others make mistakes.
They are structuring these deals in ways that benefit the country and the people long term. Now of course, it's a business transaction so Twitter is looking for a return, but if brokered properly it's a win for both sides.