Microsoft will invest $290 million in South Africa over the next two years, focusing on AI and cloud infrastructure, as…