Software that is functionally similar to Deep Freeze for MacOS 10.13
In terms of restore-on-reboot solutions it really boils down to Deep Freeze and Reboot Restore Rx. The latter of which doesn't support Mac's currently but will in the future from what I've hear.

What the Apple Store uses is akin to loading a disk image automatically. It's a bit more cumbersome than Deep Freeze or other similar solutions but at the very least it's compatible with APFS.