Bitcoin doesn't have this problem. Each mined block have limited bitcoins in reward and bitcoin price won't skyrocket to the infinity, so sum of all miner expenses is limited by some fixed number, nobody would spend their money and mine with negative result.