Theere are fundamental differences between, on the one hand, transformers and rotating electrical machines, and on the other hand, induction hobs and microwave ovens.
In simple terms, in the former, steps are taken in their design to minimise the leakage of the magnetic field, because any of the magnetic field created by one primary winding that does not couple with a secondary winding, is lost energy and hence reduced efficiency. So transformers and motors/generators use closed magnetic circuits where the vast majority of their magnetic field is contrained to flow in the iron (or ferrite) of their magnetic circuit to maximise efficiency.
Conversely, in an induction hob, you have a primary winding generating an alternating magnetic field above the hotplate surface: an open magnetic circuit. When a suitable metallic pan is placed on the surface, the magnetic field concentrates itself into the metal of the pan, as this offers a lower magnetic resistance than free space (air). However, with an induction hob, the air gap between pan and plate means that the coupling between the part of the magnetic circuit in which the magnetic field is created (plate) , and the part in which energy is extracted from the magnetic field and converted to heat (pan), is not going to be as efficient as the closed magnetic circuits of transformers etc., meaning there will always be some stray magnetic field present during operation. Hence the warnings to pacemaker-wearers.