Globally, an estimated eight million tons of spent coffee grounds are discarded annually, mostly ending up in landfills.