Elon Musk reached a deal to buy Twitter for $45 million earlier this week.