The castings are used to make a metal lathe, which is the first machine built since it can partially make itself.
The castings are used to make a metal lathe. A metal lathe is the first machine. This first machine is built. It can partially make itself.