The death of both of these products share one key characteristic, that being a self-sustaining, downward spiral.
Azo no doubt started to die when enlargers and small format negatives started to take over the bulk of photography. When the vast majority of prints ceased to be contact prints (snapshots from 120/620, 616/116, postcard size, etc., and professional work from large format cameras) and became enlargements, the death of contact papers started. So Kodak sees sales of Azo starting to fall off. So they discontinue the 'odd' grades (1, 4, 5). So Azo becomes less 'flexible' than chlorobromide 'enlarger' papers. (After all, you can contact on enlarger papers -- that's most of what I do.) So some more people switch. Then VC papers become the norm. So more sales fall off and Kodak drops grade 3. Still more sales drop off... So they start discontinuing sizes... These things feed on themselves!!!
With Kodachrome, the death started with the invention of Ektachrome. It accelerated with the introduction of E-6 and greater processing options -- 20 years ago, I could get E-6 back in two hours. Kodachrome took 3-4 days, minimum. Kodak sees sales fall off so they start closing their labs. Kodachrome processing becomes even slower! So they close more labs... Discontinue K25... And on it goes.
Personally, I can live without Azo. Would a nice, chloride contact paper be nice? Sure!!! But it doesn't keep me from making pictures. Plus, even if M&P do start marketing their paper, if seems they are married to it being single weight. I HATE single weight paper.
Kodachrome I will dearly miss. In the 80's, I shot 2-3 rolls a week. Today I might shoot 2-3 a year! Why? Because it is a PITA to get processed!!! And yes, I know Kodak tried -- they came out with 120; they designed and built a whole new processor; they tried to enlist pro labs around the US to offer K-14 processing. And it was all for naught! People just didn't buy it!
So to blame Kodak for all for all of this is just plain wrong. Folks, we have met the enemy and he is we.
Ed