Bitcoin miner Core Scientific took an $840 million goodwill impairment charge and a $150.2 million impairment on digital assets.