I assume you have a green label under your tranny, If yes, it states "USE ONLY TEXACO ETL 8072 B".. If not google for SI B 24 01 98 Automatic Transmission
But we have so many aftermarket ATF out there......Choose wisely...
I use Red line D4 ATF (for my X - Automatic Trans Fluid)
Automatic transmission fluids:
Esso LT71141, Shell LA2634 & M-1375.4, Texaco ETL7045 & ETL8072B: D4 ATF
https://www.redlineoil.com/tech_article.aspx?id=2
==========================================
Question? Your X5 is not ALL wheel Drive (Xdrive)?
For my X5, I only use BMW specific fluid for my transfer case
For the transfer case fluid (For all wheel drive, XDrive), scan with GT1/DIS or BMW specific scanner.
VTG - Transfer Case - "Oil Wear" .... Then it's time to replace the transfer case fluid
Transfer Case Fluid - Kit (Fill & Drain Plugs with Washers) p/n 83 22 0 397 244
For all wheel drive only!
Good luck!