I'd encourage people to look at the history of Fujifilm (the Japanese peer to Kodak) to see why they didn't fail, but Kodak did.
https://petapixel.com/why-kodak-died-and-fujifilm-thrived-a-...
TL;DR: Fujifilm diversified quickly, Kodak clung to the film business for far too long.
That’s not an accurate summary of the article. The problem was that Kodak stuck to the photography business for too long. As the article states, in the early 2000s they were the number one seller of digital cameras. It just turns out making consumer digital cameras was a “crappy business” as their CEO went on to say. Fujifilm diversified into healthcare, cosmetics, and making LCD display films.