Fiduciary duty is specifically a moral imperative to do what is best for shareholders. Very often that is a large share valuation!
Sometimes, though, you work for a non-profit (who told their shareholders "we're not actually trying to make you any money, consider your buy in a donation, and your profit to be not being eaten alive by killer robots after AI gains sentience") your fiduciary duty to your shareholders is to continue to not allow an unhinged billionaire who doesn't appear to give two small fucks about any kind of safety to buy your company.