Corporations routinely force such liberal beliefs upon their employees in the form of annual "diversity training" where they are required to echo the corporate talking points that "homosexuality is not a sin".
Is that still "free speech"?
Simply because I disagree with their view on the issue does not mean that I do not think they should have the right to voice their opinion.
However, consumers and prospective employes are free to make decisions for or against these companies.