Yes, mainly a cost consideration, I think. And esthetically, I think black lenses go better with a chrome body than vice versa, so the lens makers went with black pretty much exclusively.

I also expect that chrome plating weighs more than black anodizing or black paint, so for larger telephoto and zoom lenses it could become a significant weight disadvantage to chrome plate them.