Bitcoin mining costs surge to record highs as miners pivot toward AI infrastructure and data-driven business models.