California and other states are weighing the opportunities of becoming a hub of testing a technology that is seen as the future of transportation and the risks from giving up active control of a large, potentially dangerous vehicle.