Suicide is always an option for someone who is dedicated enough to do it. Relatively painless suicide is an option for most.
However, the idea of producing such a machine is, in itself, promoting that suicide is an acceptable practice. It should not be. There are people who are depressed in their current situation, and these machines would just give them an easy way out. I'm sure we all know someone who at some point could have been depressed enough to do it, had there been an 'easy' option. But it is not an option to be taken lightly.
We put enough stigma and safeguards into suicide that someone who has to do it must think things through before they commit. And most people, when faced with that thought processes, will back away. Suicide should not be promoted in any way, as we should make every person feel like they have a chance at getting better, rather than pushing them to an easy death. For someone who is of sound body but unsound mind, there is always a chance of getting better.
Euthanasia is an entirely different topic.