Amazon.com Inc (NASDAQ:AMZN) has agreed to buy healthcare tech group One Medical for approximately US$3.9bn, the companies said in a statement today.   One Medical is costing US$18 per share in an all-cash transaction, a 77% premium over the healthcare provider's US$10.18 share price when the markets closed yesterday.