Edit: a slightly different way to look at it: the iPhone has always been a computer. Since iPhone 8 or so, it’s also had desktop class performance.
the crossover between "high end phone" and "ultra-portable laptop" has been observed for a number of years now, that's really the space where chromebooks thrived even with inferior ARM reference cores, if you throw an actually-good M1 into it then you get an extremely solid ultra-portable. And the bigger laptops are just more of everything - more cores, bigger GPU, more memory.
Either way I agree a recent iPhone would be plenty for standard work (documents, spreadsheets, email, web).
There’s other issues but that’s the main one. The workload you’ll enjoy it with is a lot less than you’d expect unless you’re a mainly terminal user.
It’s not a categorical point but current iPhones don’t even have real external display support.
Have you seen a current iMac motherboard? Nearly all of the I/O is on a breakout board with a thunderbolt controller. Does an iPhone expose PCI-E lanes for interconnect? No, of course not, but there were desktops long before PCI-E and as others have mentioned, the first USB-C MacBook had exactly the same number of external ports as the iPhone.
And it’s actually a compressed video output reusing the screen recording hardware. The adapter runs a miniature iOS that decompresses the video again. It’s not raw pixels.
Having an actual keyboard and a dedicated task switcher button made that phone better for work than the modern flagship Android I use now.
I don't know much about iphones, but I've definitely seen people do real work on ipads, so I think the same argument applies.