Body control module are cheap and easy for the manufacture , and a night mare for the owner. At my former employer I have seen a headlight burn out on a 2010-2015 Ram truck , it was replaced and still no power to the bulb . The module turned of the circuit since the power draw wasn't there when the bulb burned out. They had to buy a special scan tool to re-enable the module. the scan tool was just under $4000.00 . All for a burnt out head light.
This is what pisses me off more, the lockdown of repairing more than the complexity. I owned a few BMWs from the E9x 3-series platform (2006-2013 3-series) which were even more complex than the 2001 E39 M5 @Chris owned electronics-wise. The good thing was with the enthusiast community surrounding those cars and aftermarket support, pretty much anything dealing with electronics and coding was solvable. The diag software was easily obtained on a Windows laptop and you could plug into the car and reprogram modules that needed replacing somewhat easily with a little internet digging.
My father had the rear differential lock module go out on his 2013 Grand Cherokee Trailhawk a few years ago, lighting the dash up like a Christmas tree. The only way to reprogram the module was through the dealer. Even a few Indy mechanics in the area said they recommend bringing it to the dealer since they didn't have the tool to code it.
When I worked at the insurance company, I saw a few cars that were mechanically totalled. I'm sure electronically totalled will be a thing soon if it isn't already.
