The answer is simple OP Gaara is taking Naruto to Minato but needed Sakura or other medic shinobi to keep him in life for enough time.
Now Gaara is taking Naruto to Minato for Minato to transfer Yin Kurama into Naruto most likely but it still should not save him.
or
Gaara is taking Naruto to Minato for Minato to use Naruto's chakra as anchor for his FTG to teleport them all here:
You must be registered for see images
^^ Two problems.... Naruto should not have chakra at this point almost...and they would need to pick up Killer bee on their way before getting to Minato.
Now what would be purpouse of getting to that Sacred Ancient temple of tailed beasts ?... I am not sure but most likely one of the room there is place where Sage of six paths created Tailed beasts... so we should find out black circle drawn on ground where Naruto put there could revive or trigger tailed beasts chakra along with Sage of six paths's chakra sealed in these pieces to arise in shape of chakra avatar of Sage of six paths or tailed beasts to save Naruto somehow.
I have theory: why noone was able to enter that room... not even Killer bee. In my theory chakra of all tailed beasts along with their trust working as key are all ingredients to open that door and enter this The most sacred room ever.