Owners and execs whose companies have lasted 10, 20 and 30 years share the lessons they’ve learned along the way.