You're right. Programs never think (even the self-learning ones). They just execute their programmed tasks. Artificial intelligence is an oxymoron by definition and while intelligent behavior by computers may be simulated to the point where we can't tell the difference, it can never be true intelligence by definition.