If the machines in a factory or the items of equipment used by a firm are retooled, they are replaced or changed so that they can do new tasks.