I'm pretty sure they do, though. Lucid owns Atieva, the company supplying the batteries for Formula E. What they've learned through the many seasons directly goes back into the vehicle's battery.
https://lucidmotors.com/media-room/atieva-powers-season-6-fo...
I am a bit skeptical of Lucid's ability to grow into profitability, but they do have excellent engineering. Their EVs have some of the best efficiency and range on the market.
Mercedes sold their cars by having better engineering (perceived by customers). Does Lucid have better batteries? Almost certainly not.