Machines for treating carpets in position by liquid, foam, or vapour