Tesla delivers 500000 cars