Both propositions are obviously horrible. But why? The answer is similar to why the death of worms < chickens < pet dogs < people < great people.
Consciousness is a matter of connected/integrated complexity; as a result, millions of worms do not eventually produce the depth and richness of human consciousness. Secondly, consciousness is dependent upon other conscious beings; our consciousness isn't really our own, it is part of a shared web. So, consciousness that does not participate in that shared web is less conscious, in a real sense, than consciousness that does.
For both these reasons, if we value consciousness, the only real benefits of factory farmed chickens would come from how they help contribute to the overall conscious ecosystem. Perhaps they let us build more integrated complexity, in which case, thanks.