My 2021 car has this. it has no cellular data connection or significant internal storage and the camera just has what I assume is a very basic neural net that looks for signs of distraction. like the eye tracker modules some phones and laptops have. These are low-res greyscale IR cameras usually.
I'm OK with it, and it's helped me out a few times, though I know some cars are more aggressive and beep at you just for looking at your own mirrors.
Some cars however have full time cabin recording that you dont have much control over, and some do have full time data connections that could theoretically send some kind of snapshots on events, but they arent going to do full time video streaming or uploading large video files.