Our scroll interactions work with “checkpoints”. When a certain element is visible in the browser’s viewport, an interaction or animation will execute.
What Apple is doing is completely different and custom coded. Here is an article I quickly Googled for you that deconstructs how Apple made that page: