Ford is considering ending production of its all-electric F-150 Lightning pickup truck amid mounting losses and challenging market conditions for EVs.