Investors cited declining sales, reputational damage and Musk’s growing list of outside ventures — including a now-concluded stint at DOGE.