Nah, they've replaced other characters' voices with much less down time. I think it's more of just the world moving past the whole cancel culture crap some people were getting way too into. Certain groups were hating on Apu hard, and the only semi-valid critique they had was he's voiced by a now famous white guy doing a cliche voice.
Also, don't some of the unions stipulate that minorities should be voiced by the appropriate minority? Not for cancel culture BS, but because they're sick of having roles go to established famous people instead of the thousands of more than qualified individuals. (and then King of the Hill hired Ronny Chieng to voice Kahn Souphanousinphone which was quite the whiplash lol)