Tesla racks up 4th-straight quarterly profit