The common terminology that "harmonics are generated" by certain equipment can be somewhat confusing. In most systems, harmonic voltages and currents are the result of non-sinusoidal current flow into a non-linear load, such as a VFD, DC rectifier, etc. This non-sinusoidal current can be represented as a series of waveforms consisting of the fundamental and various harmonics of the fundamental (Fourier analysis). These non-sinusoidal currents flowing through the impedances of the system cause distortion of the voltage waveforms. For analysis of this problem, it is common to model the non-linear load (VFD, etc.) as a "harmonic source", even though, strictly speaking, these loads are not "sources".
Synchronous generators can be a "source" of harmonic voltage. It is common for generators to produce enough 3rd harmonic voltage to cause problems on some systems. Higher order harmonics are also present in most generators, but at such low levels as to not be an issue.
Lastly, induction motors are not sources of harmonics.