Hyundai will invest $12.2B in r&d, facilities next year