Using antennas that rectify the very short wavelengths to DC power.
https://en.m.wikipedia.org/wiki/Rectenna
The following article is about using carbon nanotubes to capture and rectify the longer wavelengths of sunlight to make DC electricity.
https://pv-magazine-usa.com/2018/11/23/all-i-want-for-christmas-is-a-90-efficient-solar-panel/