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.