Fees are one option. If you agree to a 2 year loan of 100$ as long as they pay you back 110$ that’s acceptable, the difference being if it takes them 3 years you still only get 110$. Obviously this runs into problems with inflation, but it’s one socially “fair” way to handle loans between friends and family.
i.e. when you are helping someone (a friend, relative) you don't pay interest. But when it's a business loaning the money that desire to help doesn't exist, and it becomes a business partnership instead.
https://en.wikipedia.org/wiki/Loans_and_interest_in_Judaism specifically: "Heter iska". And https://en.wikipedia.org/wiki/Murabaha for Muslims (I think there are other forms as well). A copy of a Heter Iska: http://www.jlaw.com/Forms/iska_d.html
The Medici bank gained lots of their money from foreign exchange speculation issuing a sort of option for buying foreign currencies at a specific date (this would probably be a lot harder to do today), you could also charge late fees with the social understanding that paying a loan back on time is really bad for your credit score. I guess a modern conglomerate might make money by putting certain terms in effect: You want to build a house but need some money to do so? I will lend you the money if you contract my contractors to build your house. A university could lend you the money but keep charging extortionate tuitions as long as the cost for the education service is unregulated.
Almost impossible to imagine given the current state of the economy where every possible thing you can imagine has been commodified.