Officials say New York City created or preserved over 24,500 affordable homes last year, breaking a record for the nation's biggest city.