Machinery for working rubber or plastics