Let's imagine that being black was actually what caused black people to commit more crimes and this was scientifically proven, how does this make it less bad to discriminate against some black guy who may or may not be a criminal?
From a business perspective, correlation is a good measure and making decisions based on it is perfectly fine (if the correlation is real).
From a moral perspective, it is not OK to discriminate based on correlation or causation.
The distinction between correlation and causation matters when you are attempting to affect the outcome. For example you can't cure someone's sickle cell anemia by painting them white.