Elon Musk's X will appeal a Karnataka High Court ruling that upheld Indian government directives to remove online content.