Swedish automaker Volvo Cars has abandoned its ambition to sell only fully electric vehicles by 2030, saying it needs to be “pragmatic and flexible” as demand slows.