Three friends, who raised $8 million for their AI startup, explained how to keep their relationship strong amid the challenges of founding a business.