U.S. dealerships are battling on two fronts — legal challenges from expanding direct-to-consumer car sales and a widening technology gap with Chinese automakers in software-defined vehicles. While ...