Tesla is investing in artificial intelligence (AI) as it anticipates the “next major growth wave.” That wave will be driven by advances in autonomy and...