I already brought that up, particularly South Africa. But they never had the opportunity for mass population shift that China has now. Interceding factors such as the world wars, anti-colonialism, and global elites' plan (expressed by Sir Francis Galton) for China to "tame" the dark continent and supplant African people curtailed colonization and infrastructure development. Additionally, China has more advanced machines and techniques to transform the landscape than were available in the era of European colonization.
Furthermore, when Europeans colonized they were regarded by the rest of the world as invaders. Chinese swarms, however, being non-white, are regarded as "immigrants". I have even seen frequent reference to them in Ugandan media as bayiiya (investors) even if their only business activity is gambling or peddling shoes so that the original Ugandan peddlers cannot compete.
The European countries did try to have mass population shift, to the extent that Algeria and South Africa ended up with roughly 10% of white populations. The extent to which they succeeded in duping their native Europeans to settle in African colonies varied, but the numbers didn’t lie when those returning/fleeing Europeans arrived back in Europe (especially in France after leaving Algeria and more recently Portugal when leaving Angola/Mozambique/Guinea-Bissau/Cape Verde).
They were absolutely invaders; I wouldn’t dispute that. Africans don’t view Asians as any different; they know they don’t belong, and forced them out of British East Africa far more aggressively than they forced out the whites (with whom they intended to maintain trade relations and such).