The three-storey building on a major road in Brooklyn, New York gave way while construction workers were digging on a neighbouring plot of land.