Simple theory with no end
My theory is simple. Robo hobo had a divergence in the beginning of the episode. Gail bot went off scripted when The Man in Black called her out for being a mole. Gail bot used her newfound individuality that we saw in the last episode to make sure she could get The Man in Black’s portion of the shares at all cost. Hence the sending to the mental institute last minute. Lastly, doesn’t the divergence shown by robohobo resemble the reveries of the host in season 1 & 2 ?