Chaotic and Stochastic Behaviour in Automatic Production Lines