A mother’s use of antidepressants and antipsychotics during pregnancy is not associated with a higher risk of autism spectrum disorder in her children, a study says.