An inquiry by U.S. securities regulators into whether J.P. Morgan Chase & Co. hired the children of some Chinese officials to win business is a fresh reminder of the risks around the practice of giving jobs to the well connected.

The Justice Department has warned companies since at least the 1980s about hiring...