Elon Musk bought Twitter as part of a $44 billion deal in which he promised to rescue the company from debt and restore its profitability. However, he also promised a slew of his own changes, including cracking down on automated “bot” accounts, advertisements, and what he characterized as violations of the free speech of users.