Chloroplasts in plant cells produce ATP under the influence of sun light. This has now been harnessed in artificial cells.
Photosynthesis in an artificial cell to drive metabolism - biotechnology science news

In the process of developing artificial cells, researchers have reached the milestone of integrating photosynthesis in a cell-like structure. It is now possible to activate metabolic activity with light, and use the resulting energy in the form of ATP for protein synthesis in artificial organelles. This is an important step for further development of more complex artificial cells that can build protein networks and perform complex cellular behavior. In the long term, artificial cells might be used as cellular prosthetics to treat diseases or repair damaged tissue.

Read the full story: Harvard – John A. Paulson School of Engineering and Applied Sciences
Scientific publication: Nature Biotechnology