Automatic screw capping machine