AI giants are racing towards public listings as valuations soar.