So if Mali confiscates a TLD “rightly so” seems like an unreasonable response. “This is a warning to all of us” makes sense however.
Other sovereigns -- hopefully one of them counts you as a citizen and involves you in its processes through democracy -- can simply boycott, or embargo them, or dissuade them through diplomacy, or armed forces. Unless you understand this, you don't have a good model of what "the Government of Mali" means, and thus it doesn't make sense to make business with "the Government of Mali".
[1] Well, except maybe to the people of Mali, or the constitution of Mali, but that's an internal "implementation detail" that's abstracted away from you, unless you're a citizen of Mali.
That said, from what I understand, ccTLDs are owned by countries they are allocated to (maybe with some corner cases, but irrelevant here), so Mali is certainly not doing anything wrong even in the above "legal" sense by asserting their ownership.
A country-associated TLD should host personal, commercial and governmental services / representations for entities operating out of this country.
If you provide something, a custom TLD like .service .shop .framework is more appropriate.