Kodi itself is not illegal, and loading it to hardware is not illegal as long as you adhere to the licensing terms (profiting off of it may be violation of the license, but that would require a civil action by the owner of the kodi license).
It's the devs of the add-ons that are providing pirated content that are worth "going after" legally, and chances are, they are overseas.