The Z4’s driver alert monitor detects an inattentive driver then sounds a warning and suggests a break. According to the NHTSA, drivers who fall asleep cause about 100,000 crashes and 1500 deaths a year. The A5 doesn’t offer a driver alert monitor.
Both the Z4 and the A5 have standard driver and passenger frontal airbags, front side-impact airbags, driver and front passenger knee airbags, front seatbelt pretensioners, four-wheel antilock brakes, traction control, electronic stability systems to prevent skidding, crash mitigating brakes, post-collision automatic braking systems, daytime running lights, rearview cameras, available lane departure warning systems, blind spot warning systems, rear parking sensors and rear cross-path warning.

