BMW has confirmed it is to invest hundreds of millions of pounds to prepare its Mini factory at Cowley and Swindon to build next generation Mini models from 2026.