Volkswagen set to close three German factories and axe thousands of jobs