Google is being competitive.
YC is being anti-competitive.
Because they suck at competing against Google and they want to get unfair, unethical advantage themselves.
Imagine spending years and billions building something and then I show up and say “hey man that’s not fair, give me a slice of that thing for free. Oh and also I’m probably going to sell it back to you someday for a lot of money”.
And before someone tells me “that’s the law”, I don’t care. If that’s the law then it should be changed. Laws have been written (and lobbied) for all sorts of reasons and surprisingly not all of them are fair and ethical.