The legendary investor’s lifelong philosophy of gratitude offers an important lesson for entrepreneurs.