If humans have managed it, I think its reasonable to assume a human level (or smarter) AI could accomplish the same bootstrapping process if you gave it access to an actuator (robot arm or human assistant), enough sensors to see whats going on, and some "starter" tools and materials.
What would be the minimum starter set of stuff it would need to get going? Way less stuff than what you'd find in a modern shop, or what anyone can order online with a few hundred dollars to spend.
If AIs learn to code, seems like they should be able to learn mechanical engineering too.
Also...
The world has been steadily moving away from the paradigm where human labor matters. Money is digital. Machines that produce things are controlled by software. You interface with 'humans' over digital video. You buy and sell things over a digital connection. You are influenced by mass media streamed over digital lines. Remotely controlled vehicles exist and are becoming more and more common.
Our world has been so completely integrated with digital technology that if it were disrupted in a large scale fashion it could easily result in millions of deaths. No power, no internet, and people lose access to heating/cooling, clean water, hospitals can’t run, food production is disrupted, money can’t be accessed, medicine can’t be produced, communication is cut, shipping and transportation of what goods do exist grinds to a halt.
And that’s just in the world of malware, that doesn’t consider all the ways it could just inject enough discord into society that it doesn’t need to physically attack us, we will do it ourselves.
Y'all are crazy for thinking this. A computer program without arms or legs cannot extinct or enslave the human race.