Machines with more than one rotor or stator