They're not in competition with one another. Together they are both in competition with privately owned cars. A transportation system effective enough to compel people to give their cars up is good for both of them. Uber alone is too expensive, and public transit alone can't provide service everywhere all the time cost effectively.