First of all, some people do commute via ride hailing apps, yes. Second of all, transportation is a much bigger category than simply taking people to and from work.
Typically this word means that the product or service broadly serves same market in some way that overlaps. It isn't typically used so narrowly to imply that the products/services are directly replaceable in all ways.