A Chinese court has ruled that Bitcoin and other cryptocurrencies are considered property, making their possession legal.