The same way you prevented this previously. Copying successful products is nothing new, AI just makes it easier.
Marketing, lawyers, good customer support, creating relationships with customers.