Athletic retail giant Nike will stop selling its products on Amazon, officially ending a two-year pilot program.