There is a non-trivial amount of work being done at university research labs that has yet to feel the effects of the machine learning revolution because PIs aren’t investing (or cannot afford) programmers, and scientific equipment is manufactured by a small handful of companies who have little incentive to innovate. Please note that n=2, but both myself and a friend of met have met people working in life science labs…
I enjoyed my time there a lot, I was building tools to help very smart and motivated people solve cool science problems. My users sat across the lab bench from me (the original open office plan?) and iteration/feedback cycles were super fast. People were appreciative and I could see how much time I was saving them. It was very motivating. Some of the more useful stuff I built got picked up by other labs in the group.
Maybe I'll do that kind of thing again someday, if I decide I've had my fill of megacorp programming.