Most cloud services do it. Microsoft has been scanning all uploaded pictures for their visual contents for years, Google had this famous case last year where they reported a Drive user for an uploaded picture.
It's E2E encrypted or they have full access and make use of it, simple as that.
It's E2E encrypted or they have full access and make use of it, simple as that.