Drugstore owner Walgreens Boots Alliance Inc. and health insurer Humana Inc. are in preliminary discussions to take equity stakes in each other, according to people familiar with the matter, as health-industry players scramble for tie-ups that will help them compete in a rapidly evolving environment.