From what I've seen over the years and heard from YC founders, it is not uncommon for YC to invest in competing businesses. They have a lot of companies, and it is very likely that at some point there will be companies that evolve into competing with other portfolio companies.