Consider Bitcoin if there were a single miner running a single rig. They sink costs into the rig, and then run it, paying for electricity as it hums. The rig has to produce at least as much income to this miner as she pays out in electricity costs. Otherwise, it's more profitable to turn it off. So if electricity prices go up, income has to as well. If it doesn't, the rig goes off. This is fundamental to profit being equal to revenue minus costs.
In a networked state, there are more interaction effects but the fundamental relationship holds. Every miner must pay, directly or indirectly, their electricity costs. (More than that, every user has to pay electricity costs. If electricity prices skyrocketed, an electronic currency--whether digital dollars or Bitcoin--becomes fundamentally uncompetitive relative to paper.)
Constant-rate production dampens this effect, but does not remove it. At the end of the day, somebody is paying for the electricity the network consumes. Those somebodies aren't doing it for free.