Back in the very early days of KaW (before tier 3) there was no cap on plunder. So the more $'s worth of allies you owned, the more $'s you made per hit.
The first person who figured this out was a guy called KingdomsOfWolves so while everyone else was hiring a few allies for the stat boost they gave, he was pouring every cent he earned into allies.
The more he bought, the more $'s he made per hit, the more $'s he made per hit, the more he earnt, and so on.
He very quickly rose to be #1 on the leader board by such a large margin that no one had a hope of catching him.
Obviously other people started catching on and doing the same thing, and the more people that figured it out, the more people started earning huge amounts of gold, but with his head start KoW was way ahead.
This also brought in another problem, inflation. More and more people were creating more and more gold, and the amount of gold in the system was growing exponentially
The Devs decided that plunder needed to be capped. And changed the system to the one we know today where you earn more from allies only up to a certain point, then it's caped.
The number on people's profiles you are asking about is an old relic of before the cap, and refers to the maximum amount you could have made from owning that ally if not for the fact that there is now a cap.
Keep en mind that back then 1b was a huge amount of gold, and no one cost anywhere near as much then as they do now.