The company that taught robots to spot recyclables now wants to run the whole plant. In Virginia, that idea has become a 20-year bet on what the rest of us throw away.