Little more than a century ago, most domesticated dogs were working animals with vocations that were enriching and kept them occupied.