First, in the classical "market" scenario, we're talking about little atomic firms, each with goals and hopes and dreams of profit. Each of these firms has some kind of "knowledge" and some kind of decision making apparatus. They all have some functionality. In a sense, these firms are like people - so much that our government treats them as such in many cases!
In many cases, a lot of these ideas and processes end up being the same, and when it is, we call it collective wisdom[0]or collective intelligence[1]. I won't go too deep into that.
So while financial markets and the firms that comprise them aren't exactly _machines_, they do display a form of intelligence different and sometimes more effective than our individual knowledge.
[0] https://en.wikipedia.org/wiki/collective_wisdom [1] https://en.wikipedia.org/wiki/collective_intelligence