Magic?

Artificial Intelligence is a field of study with a particularly elusive definition. Most definitions agree on it being about artificial devices that perceive their environment and take actions with the aim of achieving some goals. Broad enough.

These machines appear to be "intelligent" by mimicking human cognitive functions such as ability to learn from the input and solve problems.

SF literature would even go to far to involve feelings, but that's SF.

So, is it magic, then?