Not convinced it's a good idea to focus on the race angle
and
to protect the whole society from building the enabling technology for a repressive state
The whole point of repressive states is to repress some people more than others. If the technology is effectively choosing who gets targetted that's actually a different problem to state actors making the choice (though it may stem from the same cause and lead to the same outcome) and needs to be fixed by different people.