Just came across this website where someone built a device for automated focus stacking: http://davidhunt.ie/?p=2826
Maybe not great for out in the field, but useful in the studio?

Enjoy,