These two concerns were always present, long before Appleās announcement.
Any app that has access to your photos can scan your on-device photos for anything it wants. This could be for benign reasons (e.g. Photos creating āMomentsā for you to review) or hostile reasons. Your only safeguard is Appleā App Store policy.
Apple could always (going all the way back to very first iPhone) design and deploy new software and secretly push it into your phone. There is no technological mechanism that can prevent this short of hacking the phone to permanently disable all capability for software updates. You have always had to trust Appleās intentions here.
Ditto for all other smart phones. Google, Samsung, Motorola, LG and wireless carriers all push updates into their various phones and devices. When you use them, you have to trust them to not push objectionable software into your phone.
Ditto for your computer. Unless you disconnect from the Internet and refuse all updates, Apple (or Microsoft, or Dell or Google) will push updates for their respective software. Although you can (usually) configure your computer to not automatically install updates, if you donāt trust the company with that ability, then you probably shouldnāt be trusting the disable switch either.
Even if you go open source, you canāt eliminate that problem. Sure, the Linux community audits major packages all the time, but how many normal users actually know anything about the updates that they get from the standard Debian (or Red Hat or Ubuntu or whatever) distribution server? Again, you are trusting your distribution to do what they say they are doing.
In other words, unless you take all your electronics completely off-grid, you are always implicitly trusting someone with matters of privacy and security.
For most of us the answer to āhow can I ensure that my system will remain secure and private against direct action from governmentsā is āforget it, kidā. But it may still be useful to ask the question āwho is most likely to give in and who is most likely to resistā, knowing full well that everybody will fold if the pressure gets high enough.