Jim Cramer's analysis suggests Tesla stock may rally due to undervaluation and historical patterns, suggests a $500 target.