I guess it depends on how you look at it.
I don't think anyone would argue that spending money on lawyers is an ideal use of capital. But if AI-driven automation reduces overall demand for legal services (as measured by billable hours) and/or erodes the pricing power of lawyers/law firms, it doesn't mean that the "savings" will benefit all participants in the economy.
The biggest beneficiary will be corporations, as reduced legal expenditure can boost corporate profits. But that is a boon for the wealthy shareholder class, not the worker class. "Lawyer" has been one of the highest-paying white collar jobs available so the question becomes: as all of these high-paying white collar jobs become less plentiful, how do young people not born into wealth develop opportunities to get ahead economically?