That works well for squares (a = b), but for rectangles the corners aren't round anymore, they become elliptic, as in https://www.desmos.com/calculator/bzxyu6ygz3. That doesn't like as nice in my eyes, but more importantly I have the impression that the rounded corner of Apple's rectangles are circular, not elliptic. I don't have any Apple devices, but in screenshots like https://miro.medium.com/v2/resize:fit:4800/format:webp/1*oBI... it seems to me the corners of rectangular elements are very much not elliptic. Or certainly not nearly as obvious as in my second Desmos link.
So I don't understand what's really going on. It doesn't seem to me Apple's rectangles really are superellipses.
(And actually the squares in that screenshot look like simple rounded squares to me, not squircles/superellipses. The sides look too flat for squircles. I could be wrong though.)
https://www.apple.com/v/macbook-pro/ak/images/overview/close...
https://www.apple.com/v/macbook-pro/ak/images/overview/close...
Those don't look like squircles to me. If they are squircles, they're so close to simple rounded rectangles that there's no meaningful difference left.
The keys could, maybe, be squircles, but I'm having a very hard time seeing the outline, the touchpad, the outline of the keyboard as anything other than rounded rectangles.
Try for yourself here: https://www.desmos.com/calculator/bfqku2rcw0