Lola is to build an all-electric racing car in conjunction with established sports car team Drayson Racing Technologies.