As supermarkets adopt new tools to predict demand and reduce food waste, food banks say that donations are also shrinking.