This isn't true. ChatGPT and Gemini link to sites in a similar way to how search engines have always done it. You can see the traffic show up in ahrefs or semrush.
The company used, Clearview AI, collects publicly available imagery. It would be different if the government was providing it. Here's an idea: maybe don't post your photos on social media. Still scary nonetheless.