Market share doesn't mean squat in a market that is shrinking. And GM's market share was high, but their losses were higher.
Kodak is saddled with the expectations of the holders of what was once a huge market capitalization.
The directors of Kodak are/were required by law to try to replace the profit stream that was film with something similarly profitable. Film will never be that big again.
I believe that film can be a profitable and healthy industry, but I think that Kodak wasted its chance to be a major part of that industry. If they had downsized several years ago, and then used their resources to build other, parallel streams of profits, things would be different.
Remember that it took an insolvency and what was essentially a re-start from almost the beginning to make Ilford the small but apparently successful entity that it is now.
And Ilford remains far, far smaller than Kodak's film and paper business is today.