In addition to the other responses, McDonald's franchises require substantial investment on the part of the franchisee. You have to plop down hundreds of thousands of your own money, which represents entrepreneurial risk. This was found to be missing in Uber's case (according to the ruling) since there is precedent that bringing your own car doesn't qualify.
Additionally, McDonald's (or similar) locations are independently managed to a certain extent, that's why ads always say "at participating locations".