I don't see how Amazon would be involved in pharma and health care (unless they decide to add an online pharmacy). Health care seems like it's far outside of their core business.
Right now they have a huge online store (basically the Walmart of online business) and a profitable side business called amazon web services (which is outside their core business). Despite having profits 1/6th of Walmart and with gross revenues being 3-4x that of Amazon's, Amazon is still valued by wall street at nearly double that of Walmart (I smell bubble).
Also Amazons plans for HQ2 are extremely ambitious. Will Amazon double in size for the next few years, personally I doubt it though you never know.
Although any headquarters will be more brainpower focused. Amazon isn't opening the HQ in order to create a logistics hub. I believe they envision it to be place where they develop robotics and other forms of artificial intelligence. At least that's what their HQ2 proposal sounded like. We'll see though.
Amazon has been gobbling up pharmacy licenses in a bunch of states. Their planned entry into that market is one of the worst-kept secrets in American business today. PBMs (pharmacy benefit mangers) are some of the most powerful companies that nobody has ever heard of, and Amazon could majorly disrupt that industry.
AWS is hardly "outside of [Amazon's] core business". It controls about 35% of the cloud market and generated $4.6 billion in revenue in the last quarter and $1.2 billion in operating income (profit). Yes, that's only about 10.5% of Amazon's total revenue ($43.7 billion) but it's 3.4x their total operating profit ($347 million). As is frequently the case, AWS keeps Amazon out of the red. Retail margins are thin (most of the money goes right out the door just as it's coming in); cloud computing margins are not.
If AWS were its own standalone company it would probably have a market cap approaching on 100 billion. For comparison, Akamai (a local company we've all heard of that is strictly in cloud computing, albeit in a slightly different application than most of AWS's services) brought in only $621 million in revenue last quarter. That's less than 1/7th of AWS.
The thing with Amazon is that it does not have one "core business." It's the country's biggest online retailer but it's also the world's largest provider of cloud infrastructure services and also a major shipping and logistics company that also designs and sells consumer electronics that also runs audio and video streaming services that also is one of the leading developers of AI that also has its own TV and movie studio that also owns the country's most prominent specialty grocery store chain that also etc etc etc. Oh, and its CEO and primary shareholder also owns an aerospace manufacturer and spaceflight company as well as one of America's premier daily newspapers.
Amazon has spent just about its entire history entering one market after another, and that's why its margins are so razor-thin. Once upon a time it was strictly a bookseller; by that standard nearly 100% of the current corporation is "outside of their core business." Practically every penny the company earns is put back into expansion into more areas. If Jeff Bezos wanted he could open up the profit spigot today and make 10s of billions a year in operating revenue without any difficulty what-so-ever. He chooses not to, investing in the company instead. Amazon's pricing reflects this, as investors trust Bezos 100% and know that, one day, when they so choose, the profits will come.