Volkswagen and its powerful labour unions agree to cut 30,000 jobs, a compromise which still leaves the carmaker's profitability lagging.