One comment should be made at this point. Because the story is placed in the middle of the song of the praise of the Lord, you can see that this story was written down by Nebuchadnezzar to show the greatness of the Lord. It was recorded to honour the Lord as the God who has the ultimate say over everything and everyone. That is very special, certainly when you read how Nebuchadnezzar felt and thought about himself.
3 How great are his signs, how mighty his wonders! His kingdom is an everlasting kingdom, and his dominion endures from generation to generation.