High-precision automatic drilling and tapping machine