New U.S. rules are set to ban Chinese software in vehicles on national-security grounds.