Of course it makes military sense. Attacking supply lines and civilian infrastructure is one of the oldest military tactics that exist.
The line of argument against that is obviously "but Hitler tried it in Britain and it didn't work", but for the majority of history it did work.
When electricity is disabled, civilian life takes a massive hit. As the OP shows in his post, modern cities don't work all that well without electricity. And remember: Food for the soldiers, heating in their army base, etc, all run on it. So with winter approaching it will most likely be very uncomfortable, as the heating requirements are obviously magnified.
Of course, there is an option to mitigate it: oil/gas/coal. Where will the civil society get this oil/gas? Fossil fuels are probably the one thing that NATO cannot supply this winter(remember that Ukraine was until recently exporting energy to Europe, namely Poland), given how horrible the markets are in general. And remember that any oil that is used to heat something could have been used to fuel a tank.
To summarize, there are very real reasons to bomb civilian infrastructure for a military goal. The civilian society is the one that supports the war effort and provides the army with a lot of stuff they need to fight, and in the modern world civilian society needs electricity to run. Given that Putin is now resorting to such tactics, the next step for him would be openly bombing electricity lines and railroads.
NATO has to take these attacks very seriously, in a military context. Don't know how they will do it but they need to figure out how to get Ukraine electricity this winter.