How A.I. companies can avoid the mistakes of social media | Fortune