How do you buy a car on a loan for example?
It's not perfect but unlike both your examples it isn't based on things that could be consider political. You can't lower your credit score by attending a protest for example. Or posting things for or against causes on the internet.
I am just honestly wondering what else is our there? It has always seemed like a tool that can be used by both individuals and lenders.