SpaceX said Texas law and its own rules could make hostile takeovers, proxy fights, and leadership removals harder.