Sure he warned of dangers, but also invested heavily in AI for autonomous driving by hiring DL researchers ("a million robot taxis by 2020").
He also invested in OpenAI until he had a falling out about who would be in charge of the company. He recently founded X.AI, which is supposedly also building generative AI.
Everyone sees danger, but many, including Musk, are forging ahead.
Both were existing companies bought up by him, with the "founder" title included. Also, paying salaries for talent is very different from having said talent oneself. He has no expert knowledge on anything, one might have thought that at least he is good at programming (paypal), but look at twitter, he ain't good even at that.
https://www.cnet.com/science/elon-musk-we-are-summoning-the-...
https://www.lesswrong.com/posts/kzHJ5BRhgkj9CSQ3N/musk-on-ag...
https://www.forbes.com/sites/ericmack/2015/01/15/elon-musk-p...
https://www.youtube.com/watch?v=9jkRcrM6XKA
https://twitter.com/elonmusk/status/1647601906087329794