That's interesting. I know little of US tax laws but in my country if an arrangement has no legitimate purpose other than to minimize tax then it can be seen as tax evasion and the tax department can choose to tax under an alternative regime that they decide matches its "true" nature. Similar to how if you claim to be a contractor but you do all your work for one company they can decide to treat you as an employee. Of course, it is fairly easy to work around, so this does not have a lot of teeth, but it still weeds out the most egregious tax avoidance schemes.
That's generally true in the USA, but the catch here is that the states are sovereign entities. Different states have different tax structures, in part to attract residents, business and investment.