Microsoft and Google have both released new artificial-intelligence features they claim are capable of reasoning. They come at a cost.