Automatic numerical control single head hydraulic pipe expanding machine in pipe end forming machine