Reddit's lawsuit marks the first time a big tech company has filed a complaint against an AI startup.