Amazon has shut down a 4-year-old secret program working on a fertility monitoring device and accompanying smartphone app, CNBC reported.