If free will is an illusion, then the influence of the algorithms is also illusory. Furthermore, Google had no choice but to create the algorithms as they have, therefore holding them (or anyone) accountable for any harm is meaningless.
Much better to act as if free will is not illusory, and do what we can to improve things.