Nio Inc. is at a crossroads. The Chinese electric vehicle (EV) upstart is grappling with persistent losses that show little sign of ending, as enthusiasm for its mass-market model wanes, operating costs rise and the industry’s brutal competition intensifies.