Twitter fired two of its top managers Friday, the latest sign of internal turmoil amid Tesla billionaire Elon Musk’s planned buyout of the company.