I had an iPhone8 (released late/2017) until a few months ago ... got my wife's iPhone 13 hand-me-down when I got her the iPhone15. The price of the iPhone8 (at release) was $700 for the 64GB model. I can currently buy an iPhone15 (128GB) for $800. The low-light performance of the iPhone 15 blows away the iPhone 8 ... it's (literally) night-n-day! ;-)
If you compare between 6-8 generation old mobiles and the newest one - yes there is huge image sensor / lenses difference.
But in case mobiles there is another area which changed all mobile photography - AI.
Today mobiles can take 10-20 shots for the same picture and choose/combine best elements from them using AI.
CCTV cams and DSLR are years behind in AI and ISP technology comparing to mobiles.
I.e. take the existing 5442-S3 (with current bells & whistles), how much improved low-light performance can you get (via sensor size/technology and/or lens) for $400/$700/$1000 price points?
Here is different problem.
Both HIK and Dahua are using latest Chinese image sensors and image signal processors.
Both are a few years behind comparing to top western constructions.
Due actual China vs USA situation, Dahua/HIK will not return to using western technology for their products (due USA bans they don't have access to it).
Only western (not Chinese) companies can use latest western technology.
But theirs products (like Axis, Bosch, Motorola/Avigilon) costs 5-10x more..