Elon Musk has sold $6.9bn (£5.7bn) of shares in his electric vehicle maker Tesla as his battle against Twitter continues.