Musk, whose record pay package was in legal limbo in Delaware, relocated Tesla’s incorporation out of state during the spat.