This may be so, but New York also has one of the oldest electrical grids on the planet. Upgrading it to support larger and larger populations is a challenge, not just to manage it overloading with the density, but also in terms of logistics.
You can't just tear up a major street in New York and upgrade the electrical for a block, without causing massive logistics problems for the city. Upgrading New York's grid is going to be a huge challenge
High-population means high complaining ratio. Also lots of rich companies there who will sue when things go wrong.
Hell NYC already has district heating, adding a tunnel under the existing building could swap things over for 1700+ customers with minimal disruption. https://en.wikipedia.org/wiki/New_York_City_steam_system