The planned investment, if completed, would mean Amazon acquiring a roughly 5 percent stake based on the current market value of the company.