These are questions of legality not of bodily autonomy. Laws like that would be restrictive but they remove choice rather than act upon a person.
It is not illegal to drink while pregnant here in the U.K, the choice remains with the woman. We had a case in 2014 in which the court of appeal ruled that a baby born with foetal alcohol syndrome was not entitled to compensation under the Offences Against the Person Act 1861. It was somewhat contentious.
The laws the US states are bringing in are bordering on theocratic fascism… but they do not impinge on bodily autonomy (yet). That doesn’t make them morally correct - and as a left leaning libertarian, I’d be ignoring or mitigating against as many of them as possible.