Wally Amos, now 86, became wealthy and famous through his cookie brand, but has also become a cautionary tale about the pitfalls of entrepreneurship.