BMW had said it would invest heavily into preparing its Mini factory in Oxford for electric cars.