I just got a replacement keyfob from this dealer, only thing is that the BMW i3 depicted model was superseded by an i8. It works, and it wasn't too expensive, no reprogramming was needed. Hope it helps.
https://www.thebmwminipartstore.com/oem-parts/bmw-radio-remote-control-661010-66125a407a3