They may be doing clinical work outside of their specialty but well within their lane as a physician by performing insurance physicals or sports physicals.
A side hustle can allow an employed physician to open another type of retirement account, such as a solo 401(k) or SEP IRA, with earnings from the extra income.