A show at the New York Historical spans centuries in its examination of urbanites’ nonhuman companions and their shifting ...