From your story it seems like human guards are profiling African Americans and Latinos now. At least with a bot you'd be able to explicitly prevent them from doing so. Probably a lot harder to prevent a human from using biases
Machine learning - using statistical associations between features in a large population to make predictions about individuals - is profiling. There is no such thing as removing profiling from machine learning. The profiling is the only thing there.