Prime minister wants young people to be shielded from ‘power of the algorithm’