Tesla's stock has underperformed all of its megacap peers so far this year as global competition ramps up in the electric vehicle market.