There are two aspects to photographic copyright: photographs may be protected by copyright, but may also infringe copyright. A photograph of a painting could infringe the copyright in the painting, and a photograph of a photograph could likewise infringe. That much is well-known to most photographers. The position with respect to photographs of other artefacts - buildings, sculptures, designs and products - is less well understood.
One of the great things about copyright is the flexibility of copyright licensing. Copyright licences can be for a particular right, for a particular geographical area, for a particular period, and subject to almost any conditions you can dream up. As a junior lawyer involved in a music industry contract review exercise, I remember seeing a licence in a recording contract that covered the entire universe "excluding Venus". I can't recall the name of the diva who had demanded the reservation of Venusian rights.