Google only has a fraction of the training data. OpenAI had a huge head start and has been collecting training data for years now. ChatGPT is also wildly popular which has given them tons more training data. It's estimated that ChatGPT gained over 100 million users in the first two months alone, and may have over 13 million active users daily.
The logs on ShareGPT are merely a drop in the bucket.