This is not as obvious as you may think. This is closely related to the "monkey selfies" copyright claim issues. The court didn't seem to agree with the photographer who said "I own the copyright of those pictures because I configured the camera by myself and put it there, the monkey only pushed the button."
The court didn't rule on the monkey selfies copyright claim. The copyright owner just ran out of money to pay for a lawyer and gave up fighting against Wikimedia.