It's the same logic that makes Batman a fascist d-bag. Not everyone deserves to be punished even if they are caught. To me guilt and innocence are not black and white concepts. Yes, the ultimate purpose of a trial is to discover whether or not the defendant did the crime in question, but it also serves to allow the accused to be given their full hearing. Such a machine would first strip the defendant of his/her right not to incriminate yourself which is a very important right. Second it would deny the defendant his/her right to defend themselves, because once the machine rendered a 'verdict' there would be no deliberation.
I still feel like that 'guilt' is not definitive a concept enough that such a machine could be capable of delivering a fair verdict.