See the Sadei Chemed on Chametz and Matzah. He brings a story from the Divrei Chaim from Tzanz (Rav Chaim Halberstam) who received testimony that they don’t clean out the machines properly. Hearing this he prohibited all machine matzos declaring it chametz gamur. They actually say that besides this there was a hidden reason that automation takes away the jobs from the poor.
The Ksav Sofer established certain guidelines of how to clean out the machines.

The question is if we can perform the mitzva of matzos the first day? The Daas Sofer (Rabbi Akiva Sofer) brings a prove from the Nemukai Yosef in Baba Kama, where the lighting of shabbos candles emanates from the lighting of erev shabbos. Similarly, since the machine has no mind of its own, it makes matzos on the basis of the mind of the Jew who originally presses the electric button לשם מצות מצות.