In Brazil notaries get a cut of real estate deed transfers, and the position was hereditary until the 1990s.
Pharmacies in Italy work much like notaries, although they obviously provide a much more useful service. My understanding is that in part of the US taxis work the same way, with limited # of "medallions" being treated as an investment.