It's a very visible trait, strongly associated with ancestry, and thus associated with many other, more important, traits.
But, let’s follow your logic for a second. It seems you are suggesting that it is acceptable for insurance companies to ask you for the identity of your parents or grandparents to decide what rates to charge you. Does that sound like an outcome that you think would be acceptable?
My point is more that, if insurance companies discriminate using any non-genetic, non-biological criterion, the outcome would still not be a distribution strictly representative of the population. Because people's choices are influenced by their background. For example, it's quite probable that the distribution of brand and type of car is not uniform across racial lines (or between men and women). Would you consider the outcome resulting from this to be biased?
In fact I'm pretty sure it's how European insurance companies still manage to charge more for men, despite being forbidden to explicitly ask that information. That information still affects the pricing model through things like occupation, etc.