This just means that penetrative sex with a penis is not required. Doctors can either inseminate people directly, or implant fertilized embryos.
But the only effective way to harvest sperm is through ejaculation. I.e. masturbation. So youโre really not avoiding sex altogether. Youโre just going about it differently.