Toddler gets stuck in vending machine