US-based electric car maker Tesla Motors has posted its first ever quarterly profit in the first quarter as it also said it exceeded its target for deliveries.