Several YouTube videos on cutting these apart and soldering a fresh battery in..some people bought an empty new case and just butchered the old one..some folks managed to tease the old one apart and re-use it..
Key is used on many BMWs so you don’t need an E89 specific video..