It serves more than one purpose. First, the service confirms on every login that you still control the email address, and if you lose access to your mail, you have a bunch of other problems anyway. Second, passwords are inherently weak, and you often don't know when one was breached.
Yes, email can be intercepted or rerouted too, but that's less likely these days than a password leak. And once you've created an account, which is probably the main point of a magic link, you should set up 2FA, and that should replace the magic link from then on.