"AirPods Ultra" would not have typical cameras for capturing photos and videos. Instead, Gurman previously reported that the earbuds will be equipped with infrared cameras that use computer vision to feed data about a user's surroundings to Siri. The cameras should help to enhance the Visual Intelligence feature on the iPhone 15 Pro and newer.
This would be similar to the infrared camera built into the Face ID system on iPhones.