VfL's relegation from the Bundesliga was confirmed as Mainz struck four to keep their European ambitions intact.