Then do human artists also owe money to the countless artists who influenced them?
It doesn't change the fact that you're using other people's work as an input for your commercial algorithm that makes money for you. This by itself, without any merit to the discussion of how much is being copied, is enough reason to make you pay for the use of someone's else work.
Companies now will download your art without consent, make a lot of money and not pay you a single dime because their algorithm is "not copying". It's a complete absurd.
This by itself? So if I'm making a search engine for pictures that doesn't even show previews, you'd require payment to every site in the index?
And does replacing "algorithm" with "employee" make that much difference?