BMWs at least up to the mid-2000s are really cheap and easy to maintain. Parts are pennies, service documentation is readily available, and they're reliable enough that they last a long time with basic maintenance.
Compared to stuff like Toyotas or Hondas, they practically cost nothing to keep on the road.