I just picked up a battery from NAPA for $220 and swapped it out myself. I had a Bav Technic cable and did the reset. My dealer was quoting "up to" $580 depending on coding requirements. The swap took about 30 minutes of my time. Plus it's a good lat workout pulling out that 45lb beast.
2007 BMW 335xi 6MT TiAg