Recently, a judge in Delaware ruled in favor of shareholders and blocked Elon Musk's compensation package.
Later, Elon Musk said he would try to incorporate Tesla in Texas:
"Tesla and Mr. Musk could appeal the court decision. Mr. Musk on Thursday said he would seek to incorporate the company in Texas, a state that he believes could be more hospitable to businesses." Source.
What stops Elon Musk or any CEO from constantly changing place of incorporation if judges don't rule in their favor?