This has nothing to do with health insurance. Google doesn't even sell health insurance. And if I understand correctly, health insurance companies aren't allowed to discriminate any more anyway.
Not that it's wrong though. Imagine if you said the same thing about fire insurance. That it was unfair that they were allowed to set higher premiums on wooden buildings. Or a better analogy, if the fire insurance companies wanted to come into the building and inspect the materials, foundation, the wiring, if the fire alarms worked, etc.
So, to be clear, you're fine with the idea of being uninsured because of your genome, or a pattern of posts which suggests you might have a chronic illness?
Just because it's "not allowed" doesn't mean it doesn't currently and won't in the future happen. They'll always find a way.
I would ideally like health care to be subsidized. But if you want an insurance based model, then you have to accept the realities of how insurance works. What you describe is against the entire point of insurance.
The point of insurance is to exploit the gap between perceived and actual risk, and to profit from it - it's not to provide a safety net, or anything of the sort - it's to make money.
By having greater knowledge about your prospective customer, you can better anticipate the probability and magnitude of any potential claim, and thereby adjust premiums accordingly, or simply refuse insurance as the prospect is likely to be either unprofitable or an active drain to the insurer.
So - this is absolutely aligned with the interests of the insurance industry - not of the consumer, no, but insurance never was aligned with their interests - were it, it would not exist.
And they'll call it "fair", because that word does not mean what it used to, at all. Fair use. Fair treatment.
Fair division of the equity of your being between the vultures.