To adequately determine what may be responsible for that process choose Open Files and Ports, not Memory.
media-indexer is a normal macOS process. It should not be monopolizing the CPU to that degree though. Make no attempt to kill it.
Update macOS. To learn how to do that please read Update the software on your Mac - Apple Support.