A machine cannot mimic human thinking. A machine is can only do what it’s been programmed to do, by a human. The thinking occurred before it was installed into the machine.
You’re right, I should have said, “human behavior,” rather than “human thinking.”