Thanks to all the push back and obfuscation yesterday regarding what I've tried to convey about how CCTV cameras are built, one of the more salient points I made seems to keep getting overlooked.
Obviously heat is the primary culprit here but a cast aluminum alloy housing and heat sinking of the entire circuit board are not the only important aspects of CCTV camera design that makes them so reliable.
What is key here is the rigidity of the camera's construction and the internal securing of the components to a rigid support mechanism, especially the lens assembly, but also the PCB that prevents any heat related warping that would throw the camera out of focus or cause other potential expansion issues. For CCTV cameras at least, this also applies to cold related contraction for a camera that must function 24/7 in extreme environments.
As long as dash cams are built like toys or gadgets akin to a Gameboy with printed circuit boards and LCD screens screwed onto standoffs molded into plastic housings, inadequate heat sinking and small plastic (and even metal) lens modules that are not adequately supported, especially around the barrel and bezel, there will always be problems. If and when dash cams get built more solidly like real cameras, instead of like gadgets and toys, the constant and persistent failures and reliability issues will become far less of a problem.
You can call it "apples and oranges" all you wish but that just willfully ignores the reasons that CCTV cameras, often priced similarly to many dash cams but constructed to a different standard of durability and temperature resistance and that operate 24/7 do not experience the widespread focus issues, short lifespans and chronic reliability problems that constitute a vast number of customer posts and complaints to this forum.