Hyundai Motor Group said it plans to invest 41 trillion won ($35 billion) in mobility and other auto technologies by 2025, part of which will be directed to an ambitious effort to become more competitive in self-driving cars that has also received government backing.