Kodak pioneered digital photography (they literally invented the first digital still camera). All through the 80s and 90s they had the best digital camera sensors on the market and where first to release a commercially available DSLR. In the mid 90s they owned the pro DSLR space.
But they didn't want to cannibalize their film market, and after much infighting between senior managers they ended up not investing in the digital lead they had. And the rest, as they say, is history.
Kodak made scientific and technical optics and imaging equipment too, for years. Not to mention film for just about everything. They've made X-ray machines and other medical imaging devices. They had huge chemical plants and research facilities that didn't just make photographic chemicals. They even made hand grenades during WWII.