It was a garbage truck. A metal arm came down and grabbed the "treasure chest". Then it dumped everything in the "treasure chest" into the pile of smelly old garbage.