Where did it go wrong for Kodak?
From my position as a consumer (industry experts may well know better), it strikes me that like some other photographic companies....they simply were not able to maintain their presence once the market shifted over to digital. Kodak may have invented the digital camera and then produced some truly decent professional sensors but nobody seemed to want to buy them. Then in the early 2000s they were making competitive consumer digital cameras which performed decently but they never gained much market presence. The whole Kodak printer thing didn't really work either. That's where it went wrong....film and traditional photography revenues dried up, including those for Hollywood movies....and somehow Kodak ballsed up their entrance into the digital world.
It wasn't because the Kodak digital cameras were sub par, they definitely were good. I had two at work at one point. Somehow Kodak, Minolta and others got it wrong....while Sony and Samsung got it right.
None of this really relates to Kodachrome....which wouldn't be viable even if Kodak were kings of digital photography.