This is taking a shot at Java, and a pretty old "joke" but I've heard of this actually being a thing out in the wild:
https://stevenheidel.medium.com/a-factoryfactoryfactory-in-p...
Another fun shot: https://github.com/EnterpriseQualityCoding/FizzBuzzEnterpris...
Looks like the FactoryFactoryFactory was proposed but a PR wasn't ever created sadly: https://github.com/EnterpriseQualityCoding/FizzBuzzEnterpris...