Investors soured on companies that made junk food and medical device companies that could benefit from higher rates of obesity or diabetes, he said.