The money will pay for last-mile energy delivery to low-income residents and efforts to lessen the risk of severe weather damaging the power grid.