Automata methods in transcendence