With its new i4 electric car, the German car maker is hoping to take a bite out of Tesla’s market dominance.