Can't say anything about the BMW - but I can definately vouch for Audi. Just got my 4th one in a row and no (serious) problems (first 3 had around 300.000 km / 190.000 miles in total)
Had the A8 as a rental last year when my car was getting a check up - and it's a great car if you can/want to afford it