In electrodynamics, it is stated that the magnetic force cannot do work. The explanation of it is simple - magnetic force that acts on the charge is always perpendicular to the charge’s incremental displacements.
But it is obviously that in all electric motors, the magnetic force is responsible for rotation of the armature. So the magnetic force produces work.
I suggest that there is some 'gap' in correct description of the systems where the units move due to magnetic forces. An example is schemes of different magnetic 'perpetuum mobile' and without calculations, it is hard to convince the author that this device cannot give over-unity.
The question: How to describe work of the magnetic force in terms of the microscopic electrodynamics in the correct way?