The e-commerce giant, which is in the midst of a corporate downsizing, is discontinuing its Go and Fresh stores and One palm checkout while it repurposes the underlying technology.