Flexible mechanical element