Two franchises are seeing rapid growth by offering consumers convenient and nutritious snacks in high-tech vending machines.