Tesla Inc. said net income and revenues surged after the EV maker delivered record units at higher prices.