A new Brooklyn, N.Y. high-rise sits atop 320 geothermal boreholes. It’s a feat of waterfront engineering—and one blueprint ...