I'd be more inclined to invest in Groq over the other one. Not only because I think xAI is a bit of a joke compared to the other frontier models (before even getting into morals) but because Groq is doing something truly interesting whereas xAI is just a "me too" offering that is more of a datacenter reseller than a frontier lab at this point.