Volkswagen was fined EUR1bn (US$1.18bn) over diesel emissions cheating in what was one of the highest ever fines imposed by German authorities against a company, public prosecutors said.