i am not experiencing the same thing at all with my X3 - my iphone connects like clockwork and stays connected. are you switching wifi off on the iphone? do you know what generation the bluetooth module is in your bmw? i think that only the more recent modules are defined to be compatible with the iphone (6th generation and above). check out
this site - there are instructions somewhere there on how to find the generation of your bluetooth module.