Artificial photosynthetic cell producing energy for protein synthesis