A motor driving apparatus, comprising: a first motor group including a number N of individual first three-phase AC motors; a second motor group including a number N of individual second three-phase AC motors; an attachment gap generated between first winding coils of the first three-phase AC motors and first stators of the first three-phase AC motors and an attachment gap generated between second winding coils of the second three-phase AC motors and second stators of the second three-phase AC motors, each attachment gap being a stray capacitance, wherein operation of the first three-phase AC motor and operation of the second three-phase AC motor is controlled synchronously such that a sum of charges induced in stray capacitances between the first winding coils and the first stators are the same as a sum of charges induced in stray capacitances between the second winding coils and the second stators; an electrical conductor (33, 33A, 33B, 33C) that connects the first stators of the first three-phase AC motors and the second stators of the second three-phase AC motors and is grounded; and a control unit configured to control driving of the first three-phase AC motors and the second three-phase AC motors, wherein the control unit includes a first switching element (16u, 16v, 16w) group including first switching elements to independently control AC currents of respective phases of the first three-phase AC motors, and a second switching element group including second switching elements to independently control AC currents of respective phases of the second three-phase AC motors, and the control unit is configured to control a first switching total value M1 and a second switching total value M2 to be reversed in positive (+)/negative (-) sign, the first switching total value M1 being obtained by subtracting a number of first switching elements opened in circuit on low potential side from a number of first switching elements opened in circuit on high potential side in the first switching element group, and the second switching total value M2 being obtained by subtracting a number of second switching elements opened in circuit on low potential side from a number of second switching elements opened in circuit on high potential side in the second switching element group. a first motor group including a number N of individual first three-phase AC motors; a second motor group including a number N of individual second three-phase AC motors; an attachment gap generated between first winding coils of the first three-phase AC motors and first stators of the first three-phase AC motors and an attachment gap generated between second winding coils of the second three-phase AC motors and second stators of the second three-phase AC motors, each attachment gap being a stray capacitance, wherein operation of the first three-phase AC motor and operation of the second three-phase AC motor is controlled synchronously such that a sum of charges induced in stray capacitances between the first winding coils and the first stators are the same as a sum of charges induced in stray capacitances between the second winding coils and the second stators; an electrical conductor (33, 33A, 33B, 33C) that connects the first stators of the first three-phase AC motors and the second stators of the second three-phase AC motors and is grounded; and a control unit configured to control driving of the first three-phase AC motors and the second three-phase AC motors, wherein the control unit includes a first switching element (16u, 16v, 16w) group including first switching elements to independently control AC currents of respective phases of the first three-phase AC motors, and a second switching element group including second switching elements to independently control AC currents of respective phases of the second three-phase AC motors, and the control unit is configured to control a first switching total value M1 and a second switching total value M2 to be reversed in positive (+)/negative (-) sign, the first switching total value M1 being obtained by subtracting a number of first switching elements opened in circuit on low potential side from a number of first switching elements opened in circuit on high potential side in the first switching element group, and the second switching total value M2 being obtained by subtracting a number of second switching elements opened in circuit on low potential side from a number of second switching elements opened in circuit on high potential side in the second switching element group.