A freedom of expression perspective on AI in the media - with a special focus on editorial decision making on social media platforms and in the news media