Uh,
ABANDONED MINES!
So? They were abandoned by the mining companies. The locals go into them and extract the cobalt by hand.