Shai Agassi stood in a warehouse on the outskirts of Tel Aviv one afternoon last month and watched his battery-swapping robot go to work. He was conducting a demonstration of the curious machine that is central to his two-year-old clean-energy company, which is called Better Place.