Large amounts of btc mining are done via things like typo squatted images in compute clusters, or other compromised machines, the compute is stolen so the cost is effectively zero to the miner