Amazon is going to buy drugs in major bulk (Walmart, or Mail-order-pharmacy style), and likely will charge low "dispensing fees" (because robots will do most thigs). CVS is looking to be the "other other Walmart" of pharmacies. I have worked (as an intern) in many pharmacies, and I've seen several buyouts. At this point in time, I'm very happy that I made the leap from PharmD to SRE/DevOps about 11 years ago. Pharmacists will be robots in <5 years IMHO.