For automakers, a threat from tech giants on road to autonomous cars