Is there a way to output the machine name of a taxonomy term?
I see, the output I'm looking for somewhat like the key value of a
  list field. For example Taxonomy term it becomes taxonomy-term


As discussed the correct way is 

{{ themes.entity.label|lower|replace({' ':'-'}) }}


It's suitable for other entity types as well