China is considering imposing harsh penalties on state-owned firms that continue mining cryptocurrencies.