Real estate investing has long been associated with powerful tax advantages. Depreciation, cost segregation, and 1031 exchanges often receive the spotlight.