Some companies can keep clients all their lives. How do they do it?

Despite the harsh competition in all business fields, some companies are still able to retain clients more or less their entire life. When offers are plentiful, a long-term client is the Holy Grail of every salesperson and customer service employee. How can this be achieved?