AI-powered sorting is drawing billions in investment, but the environmental gains of preventing waste dwarf anything recycling can deliver