I use iPhones (paid for by work) as a tool for my agronomy job. I take a large amount of photos throughout the day to help document what I find in the field.
Since at least the iPhone 12, holding the phone still and letting scene sit for a few seconds will result in a sharper photo. I’m not sure if it’s a subtle version focus stacking or a sharpening algorithm, but it’s definitely there.
On my 16e, immediately looking at a photo just taken can result in the image noticeably sharpening after a second or 2, so this may be a post processing step as well.