Technologists and investors gather at the two-day Singularity Summit in San Francisco to discuss the benefits and risks of advancing artificial intelligence--and what to do in the event that machines one day out-think humans.