He showed Hinata exactly what she expected to see, a soulless monster that she could obliterate, and he got to witness all her higher level abilities in case there is a next time.
Although it also means, if there is a next time, Hinata won't simply believe any seemingly successful move of hers is going to finish Rimuru off.