The electric pickup rolled off the line at the company’s Texas factory nearly four years after a prototype was unveiled.