Ways to Treat a Home as an Investment

How can you treat a home as an investment instead of an expensive way to live for 30 years? For example, using the home’s equity to finance other endeavors or getting a multi-unit. Requirements: Realtors, real estate investors, house hackers, home owners.