Are there electronic devices that can be used to replace hydraulic cylinders with short strokes
Look at muscle wires / FLEXINOL. Wikipedia article is here. When current is passed through them, they shorten in length thereby generating a pull effect.

Data is available here