After adopting a "customized" version of SAFe, the company I work for has eliminated all but 10 scrum masters from an IT organization with over 80 teams. Instead, most teams now have a "Delivery Manager".
According to HR's description of the role, it appears to be a flexible role based on the responsibilities of a typical HR line manager but with a list of conditional responsibilities depending on what kind of team is being managed. For development teams, the expectation is that those responsibilities include those of a scrum master.