Free speech to some... hate speech to others. You are free to think what you want... but when it comes to inciting others to harm people because of their race, religion, sexual preference... well, quite a few countries have an issue with that.
It all depends on how costs and revenues are tabulated. R&D is placed in a whole other column in real world accounting. Look it up. Others on here can explain it better than I (Anan) but I understand the simplified version of the procedure.