Mazda is a huge outlier in manfacturing because they are small, but have motorsports calibre/history (meaning they have a history of homologating sports cars.)
Mazda sells an order of magnitude less cars than even newer companies like BYD. Even less than isuzu. Because of this, they can more tightly control investor expectations, profit/loss. The stock value rarely changes, nevermind grows, so investors are confident in stability and dividends.
AKA, if you work at mazda, you aren't gonna be seen as a mega rich engineer. If you invest in mazda, you know you're gonna be able to sell at any point without much worry.
That said, I see no future for mazda beyond acqusition by chinese firm. It Manufactures in far too high COL countries, sells for too cheap, Self cannabalizing (9 different SUV models), too tight of a CUV market, lack of brand identity.....and the biggest issue, they cannot afford to r and d another miata gen, another RX-7,8 gen.
mazda desperetely needs a cash infusion, or joining into a much wider network with more selling power. Until then, I fear they will coast down the same road as Mitsubishi in the us.