Artificial photochemical devices and machines