I was thinking Basilisk.
Joking aside, I have actually encountered a situation where an object could not be photographed, and it was not by design - I actually had a thread about it (12 years ago): Cell phone camera crashes entire phone, but only when photographing certain things
At the time, I faintly hoped I had discovered a real-life Langford Basilisk (an image that by its nature causes the thing looking at it to crash). I think in the end, I concluded that it was just because certain image subjects didn’t compress well, and there was a problem writing larger files on a specific combination of hardware I happened to have.