Although transformers do not contain any moving parts they are also included in the family of electric machines because they utilise electromagnetic phenomena.
A more complex (and subtle) type results when the transformer type (magnetic coupling) is combined with the transmission line type (electro-magnetic coupling).