BMW revamps R&D for new era of self-driving cars