I think they get a bad rap. Good scrum masters are worth their weight in gold at scale. The solve all inter-team comms, the bat away distractions, and they generally find the answers, or the people with the answers and get them solved and batted out.
Bad scrum masters take up space with reporting meetings that aren't reporting - but who are we kidding. I've been privileged to work with both.