I don’t think that’s really fair. Nepotism has a lot of negatives, but also positives. It’s a form of management and hiring, not a form of corruption. It can be bad for a business, but it also can be good, especially once you take the owners’ goals for the business into account.
It's actually considered a form of political corruption. Not necessarily illegal corruption but corruption in the "normal" sense of decision making and dealings of the organization.