Kodak knew digital cameras were coming, my first digital camera was a Kodak from the late 90's. I guess it wasn't in their DNA to innovate and compete in this new medium.
I feel like being a publicly traded company prevents pivoting because of the focus on short term results.
Kodak didn't really have the option to compete. Their business was largely film, which just disappeared completely, and even digital cameras got replaced pretty quickly with phones. There was nothing to pivot too for Kodak.