Hyundai Motor America and Kia America Inc. agreed to pay $200 million to settle consumer lawsuits brought after viral videos on social media prompted a wave of vehicle thefts.