Syrah Resources thought its graphite mine in Mozambique would challenge China’s dominance in the global market, but then things started going off the rails.