Of course old networks are still operated and maintained. 5G is exclusively "cloud-native" (i.e. microservices on Kubernetes) and most common core components are written in Java, Go and Python. So while Erlang is still being used and ran, most new code is not written in Erlang, as far as I know.