> Bitcoin mining only cares about the cost of electricity at a given time
I think this is the fallacy in your argument:
In the absence of a block reward, Bitcoin mining seems like a purely demand-driven activity. The demand is people wanting their transactions be confirmed on-chain, which seems entirely uncorrelated with electricity prices.
On the other side, you have miners wanting to operate at marginal profit.
Total mining expenses would therefore be driven to always exactly match the total monetary value of being able to transact. In other words, the demand for transaction confirmation drives the demand for mining, which in turn drives the demand for electricity.
In a world in which the only electricity sources available are renewable, I'd agree that Bitcoin mining has no net impact on the environment. In any other world, some of that demand for electricity will be satisfied using fossil fuels, directly or indirectly.