Tesla posts huge loss, reaffirms 2019 delivery guidance