Artificial photosynthesis devices that improve themselves with use