Numbers below are illustrative, not a forecast — they show how the math moves, not what any machine will earn.
Buy an ASIC for $10,000. Over the holding period it mines $5,000 of BTC. Operating costs are $2,000.
Counting mined BTC only: $5,000 − $2,000 = $3,000 net. Against $10,000 in, that reads like a bad investment — and this is exactly where most "mining vs. buying Bitcoin" comparisons stop.
Now sell the machine for $8,000:
Total return = $5,000 + $8,000 − $2,000 = $11,000
Capital in was $10,000. Final value is $11,000. The position returned +10%. The mined BTC barely covered costs; the resale value did the work.