Freeness of automaton groups vs boundary dynamics