Couplings between rotors and input or output shafts acting by interengaging or mating parts