I have found spectrum analyzer very useful for some specialized areas (niche, but quite recurring at my work), like checking/fixing switch-mode power supply outputs for
spurious resonances, checking cleanliness of power supply rails, this could be done with a scope but SA has much better sensitivity and it gives clear view of the problem, checking phase noise (jitter) of an oscillator, debugging EMI/EMC issues, like checking RF leaks from low-speed-IO signals, measurement of common-mode RF-currents of IO-cables.
In generally, if some problem is defined in the frequency domain, then it is more suited to SA, otherwise it is scope stuff. It is nowadays common to have "poor man's spectrum analyzer" in scope with FFT, so you don't necessarily need a dedicated SA, unless you work with difficult signals.
Regards,
Janne