Little Puffin shows how you can make a donut vending machine out of cardboard. It requires only a little soldering and no programming. But it still works like a proper vending machine, needing the right coin and all. Check out the video’s description for the materials.
Natural Nerd shows how to build a countertop machine which can dispense multiple beverages. It uses aquarium pumps to move liquids into your cup. It’s best for tea, juice, and other non-carbonated drinks. Full materials list and build details available on Instructables.