A scooter rider has died after a crash involving an ambulance which was responding to a 999 call.