Quite a broad statement, what exactly do you mean with interoperate with machine learning?
To be fair it’s hidden a bit, but you can use the face training and recognition. https://docs.digikam.org/en/main_window/people_view.html#peo...
It can automatically figure out that certain groups of photos constitute a particular trip to a particular destination. It can group by objects. All photographs of food. All photos of pets. Etc.
You used to have to meticulously manage photographs yourself, into albums or folders. Carefully manage the metadata and tags. But it feels liberating that you don't need to anymore.
Being able to do this offline would be important, for those who don't want to use the cloud. That is where DigiKam could come in.
Maybe NextCloud/OwnCloud will add these kind features.