Startup NineDot Energy just raised $431 million to build batteries in New York City’s vacant nooks and crannies — an endeavor that will help the metropolis fend off looming electricity shortages. The debt financing announced Monday will support the Brooklyn firm’s plan to develop 28 battery projects totaling...