Both electric carmakers have emerged as breakout threats to legacy automakers