There is certainly a way to do this, but by definition such a license would not be “open source.” See clause 5 of the open source definition: https://opensource.org/osd-annotated
> "must not discriminate against any person or group of persons"
Do you think "group of persons" is same as mentioning of a company name?
I am just trying to find a proper/correct solution to achieve this problem.