How artificial intelligence could put an end to prisons as we know them