AI expert warns against 'racist and misogynist algorithms'