Linda Yaccarino is shown on stage at the Davos conference.

Linda Yaccarino’s departure from the social media company X comes as owner Elon Musk is facing turbulence in his sprawling business empire — including falling sales at his EV maker Tesla and AI-related controversies.