Tesla warns on challenges of scaling up production