Artificial intelligence has already surpassed the capabilities of most people's smartest friend.