Five-axis CNC automatic welding machine