How do i animate something like this?

I tried using shapekeys and it morphs into the right shape but it’s not pinching correctly.

Only thing that comes to my mind is blender’s animation nodes. But I have no idea of how to really tweak it to get the same effect.