Fuel-injection apparatus having mechanical parts, the movement of which is damped