Telescopic machine