Earlier quoted context omitted.
The guy who had his Google account deleted for sending pictures of his children to his doctor is definitely upset about cloud providers scanning his content!
I'm sure he is, but rules are rules. Google cannot store that content for any purpose whatsoever: there are very specific regulatory standards in place for storing medical data, and Google Drive/iCloud doesn't comply with those standards. They (both!) go as far as to tell you that in the EULA, so the context of the situation doesn't even matter in the first place. The more bothersome thing (to me) is client-side scan…
(Even if you took a picture to send to your doctor through an encrypted app, it just has to end up in the photo library to be cloud synced, unless you remember to hand delete it.)