The biggest reason that Kodak foundered is that they were structured in a way that depended on selling high margin products. That was what funded the large, well paid employee workforce and extensive dealer network support infrastructure.
The digital photographic market has never offered those sorts of margins, other than perhaps the printer ink market.
Their institutional shareholders were not willing to accept years of low return restructuring, so attempts to replace the revenue streams with other, potentially high margin alternatives were the choices that management made.
All of the possibilities available would have resulted in tremendous amounts of disruption and job loss.
Kodak held many very important patents on electronic image sensors and processing. Far more than the usually mentioned Bayer array.
It wouldn’t be too much to say that Kodak created the fundamental ideas and concept still in use in all digital cameras.
One example of a more tangential significance but easily explainable, is that the tiny plastic lenses that is in every phone today, originated in the tremendously high resolution Disc lenses made from molded plastic and glass into aspherical lenses. With a technique invented and pioneered by Kodak.
A Disc camera with a CMOS sensor wouldn’t look out of place today.
Their digital cameras sold really well from the nineties to the early two thousands.
They didn’t make much profit though.
But that goes for a lot of stuff from that time.
2003 - 05 wouldn’t have been too late to do something drastic, when they still had funds and enthusiasm.
That’s sixteen years ago, not long ago at all. Though people act like digital cameras, that you could take seriously, has been with us forever.
A two pronged strategy with continued development of film, and better scanning (dedicated scanning, home or lab, has not moved at all since about 2000), and a real try at producing their own digital cameras.
The one thing wrong with their flagship
cameras was that Kodak didn’t realize that software
is the product.
From user interface to the basic de-mozaicing.
Not that any UI for a phone or any cameras are anywhere near exemplary. But at least they are fast and responsive.