Core Scientific, one of the largest publicly traded crypto mining companies in the U.S., is filing for bankruptcy protection.