AI predicts crime a week in advance with 90 per cent accuracy - but may also perpetuate racist bias