of it is taxed through K-1s, but lots of expenses can be attributed to those businesses.
When I was in the corporate world, the company bought a house for the CEO and leased it to him at about $1/month or some crazy minimum amount. He lived there 10 years and then the company sold it and gained all the increase in value. He didn't pay for meals, cars, planes, house or hotels. Someone else always paid or the company paid. His million options had no value until the company was bought and suddenly he was worth a few hundred million. Likely a billionaire today.
I know a guy that has a small newsletter, posts a 30 minute thing each week. Gets over $100K a year from it that all goes into dividend stocks. So the side gig provides a side gig. I'm not sure the investments don't produce more income than his job.