Elon Musk becomes a wild card for automakers after the Tesla chief executive emerges as an adviser to the president-elect.