Heritability doesn't imply that it's only caused by genetics. For example, schizophrenia is thought to arise from genetic and environmental interaction. So it's still worth trying to understand what environmental factors influence occurrence or severity of ASD.
I don't know, you inherit your gut flora from your mother...