Autism is a disorder that can require medical treatment. If a doctor could screen for risk factors and provide medication to pregnant women that reduced the chances of autism developing in the child, it would be their duty.
Autism isn't inherently bad, it's just different. There's no duty beyond screenings and providing the knowledge.
Not true for all manifestations of it.