RBC upgrades Tesla to outperform, says automaker can fend off competition for years to come