In which case it would stop transacting and the value would be zero.
In the case where the costs are larger than the value produced, but are not paid by the bitcoin system (external, you might say), then it would still have net negative value, but continue to operate.