They do. Real estate is also poorly scrutinized by the IRS. Because they often have multiple properties, do all cash, they can report a loss in capital on one property and apply that to the capital gains on another property. And they can just keep doing it over and over, devaluing their own properties. For a small timer like me, I don't need to do it. All I do is start jotting everything down the moment I start looking at a property. Calculate all fees, time, closing costs, (deduct every expense you can, even paper towels, etc.) when buying and figure out what the net gain you want for that property. Then comes the selling. It's a PIA and a lot of paperwork. So if my gross profit is 60k, I'll dig around and add a new porch, landscaping, etc which are all tacked on to your cost basis for that property which will be the difference between purchase vs sale price (also faster turnover). So now my 60k profit is looking more like (less taxes and costs) more like 20 or 30k net which can be rolled over into the next purchase as a down payment (equity). The equity and properties start piling up. Unfortunately, many people can't do any of this because their net worth is low or less than nothing. They have nothing to collateralize the mortgages.
The big fish do all-cash type deals where they don't even have mortgages because they have many millions and can buy a million dollar home outright. I don't do that. Not with interest rates at 3% give or take.
Unlike when I started, I now use real estate agents myself. They find the properties, coordinate the contractors, repairs, inspections, appraisals, etc and make them move-in ready, handle the administrative side. He gets commission on every sale so basically I make him a lot of money so he's all smiles. I buy almost all in the $200-500k price range bc those are the ones that sell fastest. Here in my state, $2 mil will buy you a castle. In LA, Chicago, Arlington, DC, or NYC, $2 mil will buy you a small 3 bedroom fixer-upper. CA is the most ridiculous (the entire west coast is awful).