Shopify is selling off its logistics business to flexport. This strategic decision means that the company will shrink by over 2,000 people.