Optimal thin torsion rods and Cheeger sets