The reason profits go up during inflation is because inflation increases demand which (given fixed supply) increases the price markets will bear. In a competitive market, firms will generally always price at what the market can bear. Pricing what the market will bear does not make you a bad actor.
This is completely unrelated to affirmative action.
This is completely unrelated to affirmative action.