There are a lot of variables that would always cause me to pass on fitting a wheel from another model.
Spline count, dish depth, profile match the the cowling, airbag physical fitment and electronic connection slip ring connection, MF connectivity, etc. etc.
Personally I'd hunt out a genuine Z4 wheel which are known to be fully compatible