I wonder what possible applications could come out of using a fresnel lens+a stirling engine to drive pistons in a desert:
https://youtu.be/CDCTANU8Tfk?t=1m1s
Also make use of molten salt energy storage systems to keep the system running over night.
Calculate your doubling time and extrapolate to determine when you've solved the worlds energy problems, or when you've turned it into grey goo. ;)
That way full-closure of hte system will be easier to achieve and full self-replication will be an easy step to take.
Stirling engines and Fresnel lenses are the right path for both electrical and thermal energy production. If you can keep as much of the system as possible derived from sand and clay it's pretty much producable anywhere on Earth.