If Beijing fulfils its threat, Europe and the US will need to diversify their supply. China is threatening an export ban on rare earth metals