One AU is the distance between Earth and the Sun. No planet is that big across so you can only be talking about distance from the sun and in that case Earth by definition has an astronomical unit.
It is a convenient unit of measurement for measuring distances between planets and other objects within the solar system. Using kilometres means dealing with large numbers; and light years are too...