Many millionaires made their fortunes in real estate. They did so through purchasing small single family units up to large multi-unit buildings, put tenants in the units and collected rent.
With the rent payments more than the monthly mortgage payments, they had cash flow money to put back into the buildings or into their pockets.
Over time, the property increased in value, resulting in appreciation. With enough appreciation over time