The European Union and national capitals are trying to make social media and algorithms less addictive and safer, especially for children.