A Franchise unless it is a McDonalds, Chik-Fil-A, or the like, is very risky, far more risky than real estate. On the other hand a successful franchise will absolutely annihilate real estate in terms of profit.
Each scenario has to be evaluated independently, there is no way to know which is better until you know what franchise you are comparing to which piece of real estate.
This is actually a good question and needs a solution. I don’t have $50,000 that I could risk in such a situation but I certainly could risk a couple thousand if I felt the individual was right and in my local area so I could personally keep an eye on the business.
Once upon a time I started my own little business when I was in my early 20’s and would loved to have had an angel investor. This is the type of thing where a group of investors could get together and pool their money and then invest in local people who are eager to start a business.
I wish I had an answer for you because I certainly would consider becoming part of such an angel group.