A machine can absolutely be reprogrammed and your pillow example fails. Variants are made all the time.