Assuming you’re not talking about a loan to do this (at which point you’ve reinvented indentured servitude), back when there was a smaller pool of college graduates it was easier to find a company that would pay for your education, some even offering bonuses if you completed it.
Of course, there would be an expectation for loan repayment (most likely from employment somewhere). Is any unsecured/uncollateralized loan indentured servitude for you then?
So company A pays for your education to go work for company B (their competitor) and all they get is a lousy interest rate with no security?
If they don’t get ten years (or whatever amount) of your output, why waste the time and energy when someone else will do it for them?