Analogy between gambling and measurement-based work extraction. (19th April 2016)