Threatened by entrepreneurs in California and by Chinese upstarts, German automakers are desperately trying to find their place in a new world of robots and electric cars. BMW, Daimler, Audi and VW set the standards for a century but have now fallen hopelessly behind.