Here, the ramp is a specific accomodation for the disabled person. A better analogy would be a scenario where law would require every stairs accessing the building (driver) to have an associated ramp (allowing dogs). For Uber, in my opinion, certain "dogs-allowed" cars should be added (as suggested somewhere else in this thread), but not every driver should be required to allow them.
Also, I was stating that law SHOULDN'T force people. Not that it doesn't.