The growing investment will have two notable impacts on Amazon's financials.