sure, it is never really going away, the same way ibm mainframes and cobol never fully went away. but the era where practically every company had their own ad server running somewhere is pretty much over. even ms houses are more likely to use entra stuff or something instead of classic ad.
A lot of places are still running AD with Entra in a hybrid model. Its the legacy apps that depend on AD/LDAP that still require the setup, especially if you are global and run everything on internal networks. Eventually shops switch over so Entra becomes the "master" service and AD just inherits the data from there.