Just as elevator doors won't crush a person due to sensors and such.
The cleaning part is an interesting question.