Amazon said it believes the program will help people who don’t have easy access to grocery stores to get what they need as the pilot program expands to other areas.