Two faces of Artificial Intelligence