Bitcoin mining companies are set to close out the year with a big debt burden after a borrowing spree in 2021.