China threatens to withhold rare earth metal sales to gain leverage on trade