Tesla earnings beat estimates, but price cuts weigh on results