Mining agreements have long been plagued by accusations of unfair terms, where one party - usually investors- wins at the expense of host countries. Armed with critical minerals such as cobalt and lithium, African countries are out to rewrite mining rules