Amazon will shut 72 of its physical grocery stores by February 1, with California locations closing slightly later.