Equating AI with Pac-Man isn't really the intellectual flex you probably think it is.
To get back to the article no this is not how infrastructure is going to be built over the next 50 years. Most countries wouldn't allow China to do what they're doing to them. Those loans aren't coming from inside Africa they ultimately track back to China and the African nations are going to end up with a metric shitload of debt that will be leveraged in order to get obedience on a wide variety of issues.
I don't think you read the article at all as none of this is due to loans from China. It's people acting in their own economic interest because these products replace more expensive alternatives. Part of it is funding through carbon credits which is a separate sort of idiocy, but the companies involved have built a viable business model around supplying something people want in a way that they can afford. The only involvement China has is that they manufacture much of the hardware and it's not some government directed effort on their part. To them Africa is just a customer buying what they're selling and both sides are engaging in commerce out of their own benefit from it.
Unless you have some direct evidence to refute the claims in the article, you're just talking out of your ass.
Except for that one time it was Lupus!
Elliptic paraboloids for sale.