BMW is investing £600m in preparing its Oxfordshire plant to build the next generation of electric cars.