Clever engineers figured out how to make small modular bakeries that can be stuffed into neighborhood grocery stores, or other stores, and then operated by unskilled labor.
The days of the bakers union have come and gone ~ the big bread manufacturing factories are done.
Perhaps if they didn’t have union rules and union contracts, they would have automated.
You won’t get far defending unions on this site.