This is what every business does. Whether corporations or sole proprietorship. This is why it’s always ridiculous when Dems go on about raising taxes on corporations and business. Corporations don’t pay taxes, they either find write-offs, take losses or pass on the tax burden to customers. Or a combination of all three.
The write-offs are built into tax law and generally supported by the same Dems crowing about corporations not paying their fair share. Unfortunately there are enough uneducated voters that the arguments work for them with a lot of voters.
Very wealthy people have many of the same options or other ways to avoid taxes that business do. No matter what it’s stupid to pay extra taxes when you have legal options to ‘avoid’ them.