Half your examples would be flagrantly illegal. There's no comparing banning members of a rival company you don't like, and banning a race. These aren't even remotely similar from a legal point of view.
Regardless, I don't think there's any state in which affiliation with an employer is a protected class. You can't compare this to race or sex, which are protected classes on the federal level, in every state.