Hyundai says its invested in Singapore-based Grab, the South Korean car maker's first foray into a growing sector as it tries to branch out after a sales slump in China.