First, welcome to capitalism--companies will do what they want.
Second, the Google and the bakery instances arent' exactly comparable, as has been hinted at.
The bakery part is, as has been pointed out, an extension of laws prohibiting people from discriminating on the basis of housing and whatnot. You cannot anymore say, "Blacks aren't allowed to buy a house in this neighborhood." This being a legal precedent, it extends to virtually any good.
This does not extend, however, to, "You can sit there in work and write a manifesto whining about your boss and your boss has to let you keep your job."
Your boss can do virtually anything they want to you if you don't have a union. Since Google is a typical giant union-busting corporation, there is virtually no protection for employees.
Further, the First Amendment that guarantees Free Speech is about the government not coming in and prosecuting you for saying something it doens't like. It does not mean that everybody has to give your nutty ideas a platform. The reason that businesses cannot deny goods is not a free speech issue.Even though a lot of reactionary feelings were hurt, the bakery thing isn't settled law yet. It will likely be decided that they don't have to make cakes for gays.
Alis Volat Propriis; Tiocfaidh ár lá; Proletarier Aller Länder, Vereinigt Euch!