CEOs have a fiduciary responsibility to shareholders. They can be sued, and in some cases charged criminally, if their actions have an adverse impact on stock price.
If his actions at Twitter have an adverse impact at Tesla, that's a conflict of interest. At a minimum, the board has a fiduciary...