Automatic control or regulation of feed movement, cutting velocity or position of tool or work