Conversely, what if the corporate shareholders were primarily algorithmic traders?
Human decision makers -- either individuals acting on their own behalf or humans acting as decision-makers in a corporation -- may choose to use algorithms to make decisions, and may choose to give programs that concretely instantiate algorithms minute-to-minute control of their resources. That doesn't mean that the personhood -- of the individual or corporation -- transfers to the algorithm or the concrete instance.
> Conversely, what if the corporate shareholders were primarily algorithmic traders?
Algorithmic traders are legal persons -- either corporations or individuals -- using computer programs to make and execute trading decisions.
(BTW, who's going to pay speed fines? They shouldn't happen but I'm sure they will)
Apparently corporations can have religious beliefs in the US.
I have, at least, misgivings about the ultimate decision - and certainly disagree with the religious beliefs claimed by the owners of Hobby Lobby - but I think we should deal with the actual arguments.