Detroit’s car firms try to match Silicon Valley