First off "companies fleeing the state" is way overblown. A couple companies moved their legal HQ, but for example the Tesla office in California is still expanding. They just "moved" for tax reasons. But the people stayed here.
Secondly, I doubt many companies will leave given that all their competitors will also have to publish this information.