As the other comments here have already mentioned, automated methods are available but expensive and relatively low accuracy. I'll add that manually measuring parts with instruments like calipers or micrometers in order to reproduce them is common in the machinery industry.
I’m hoping some of the mobile app 3D scanning software starts to take full advantage of the TOF laser dot point sensors available on current flagship phones, and fusing that point cloud data with the cameras and gyro/accelerometer data as you wave the phone around scanning the object. (That was a big reason behind me upgrading to an iPhone13Pro.)
Here's a random video of someone doing that:
https://youtu.be/i9Ow0jD4V5k