Firefighters evacuated an apartment building in New York after its front wall collapsed.