It's not a matter of intelligence or sentience. The key question is whether the output of a prompt is fully predictable by the person who gave the prompt.
The behavior of a paintbrush, mouse, camera, or robot arm is predictable. The output of a prompt is not (at least, not predictable by the person who gave the prompt).
The copyright office has been pretty clear that if an artist is significantly involved in creating an image but then adjusts it with AI, or vice versa, then the work is still eligible for copyright.
In all of the cases where copyright was denied, the artist made no significant changes to AI output and/or provided the AI with nothing more than a prompt.
Photographers give commands to their camera just as a traditional artist gives commands in Photoshop. The results in both cases are completely predictable. This is where they diverge from AI-generated art.