Elon Musk's xAI is in talks with investors for a funding round that would value it around $40 billion, according to people familliar with the matter, escalating the tech industry's race to build advanced generative AI technology.