What's with everyone chipping in knowledge of things they have no clue about? In your scenario, Google would just put the Lyft ad below the Uber ad in the search results, not make it invisible.
No it is not something Google allows. But for big brands they manually disallow paid results (see "Nike"). I don't see any ads on the uber results page.
Lyft and Uber.