Facebook and China are both looking to develop global digital currencies that could rival each other, especially in emerging markets.