San Francisco authorities have proposed a policy that would give its military-style robots a license to kill.