The mining company has faced financial problems due to escalating energy costs and the falling price of Bitcoin.