The law (at least in California as described in the article) did not permit this behavior. If you didn't actually do the majority of your business in another state then you were illegally evading taxes.
The problem is that this was hard to enforce, so now they have changed the law to something much simpler: if any corporate officer or beneficial owner is a resident of California, then the business is subject to Californian taxation.