Almost all the electricity becomes heat.
A miner works like a small heater: 140 W of electricity is roughly 140 W of heat. In winter that heat is not wasted in a closed room, but a heat pump delivers more heat per kWh than a resistive heater or a miner.