For the same reason garbage collection service is mandatory in most cities: because people will generate trash and dispose of it one way or another. In the city I lived in if you don't pay the trash bill they add it to your sewer bill, and if you don't pay your sewer bill they put a lien on your house.
When you go to sell your house, do you want the government interviewing potential buyers and vetoing the ones it thinks are likely to buy a car and park it on the street? A block or two away if necessary? Sorry sir, the high bidder for your house works in an industry that makes him a car-commuting risk. You'll have to settle for the second-highest bidder.