Some research says black people are Nx more likely to commit property crimes than white people. By your logic, it's not racist to ask about someone's race in an interview, because you might just be reasoning the likelihood of them stealing office supplies.
If they are asking the question, they are attempting to evaluate the person based on their individual characteristics (i.e. their answer).