Thing is, there's a huge amount of file swapping and caching between RAM and SSD going on with those silicone machines.
Windows and every Unix-like OS (Linux, FreeBSD, macOS, etc.) have been doing this for decades. It's called swapping or paging. Other OSs have done it too.
It was actually a big deal not that long ago when it became normal that you didn't have to use as much swap space because RAM got cheap.
Now, they all do it on NVMe drives (assuming you've installed an NVMe drive or bought a computer with one). So, even that's not really different between PCs and Macs. And, no, the write endurance is not really a problem in practice. Modern SSD endurance is rated in "disk writes per day", meaning that you'd have to swap basically the whole free space of the drive from RAM to disk several times per day for it to really have an effect.
Macs do have a relatively small advantage when swapping due to the fact that their disc controllers report a write as finished when the data is written to volatile cache rather than actually writing to the flash storage itself, and that disc cache is faster than the actual NVMe storage. But...that's actually a serious design flaw in their storage, not an advantage. In this exact case, it does mean swapping is a bit faster on macs than PCs. But, it's still nowhere near as fast as RAM, which is still about 2 orders of magnitude faster.
Unfortunately, it also means that a power loss has the potential to cause significant data corruption, depending on exactly when it happens. That doesn't matter for swapping, but it does mean that a power loss that comes soon enough after macOS tells you that you're done copying or saving a file can make it so that you'll have to pay a good bit of money to apple-specific data recovery experts to ever open an older version of that file again (or you have to recover from backups). Yes, it can affect system files.
That article is part of the big ball of lies Apple is using to try to justify 8GB of RAM in entry level machines that they claim can be used for professional applications. It's fine for office/life things. It can be okay for music if your demands are light. It's not okay for graphics, video, or intense daw sessions.
Reminder - I am an Apple user. I like my M2 Pro Mini quite a bit. But, in this case, Apple and some of their "access journalists" are just flat out lying about macOS being different, that some of their design decisions are actually good, or that some of what they're doing is somehow "new".