Volvo made bold plans to go electric-only by 2030 three years ago, but slowing sales has forced it to amend its targets.