Why did HaShem create Shabbos? He doesn't need rest!
The application of the verb 'resting' to God is one specific instance of the general problem of language that attributes actions or attributes to God. This general problem is the main topic of Part I of the Guide of the Perplexed. For the specific chapter of the Guide dealing with the verb 'to rest', see Part I, chapter 67.
In the chapter, the Rambam deals separately with the three pertinent verbs: va-yishbot, va-yannach, and va-yinnafash. For each, he suggests readings in which the meaning is not 'resting' in the sense of recovering from being tired.
'Va-yishbot' might mean ceasing from some activity, so, ceasing from the activity of creation. For 'va-yannach', the Rambam quotes Bereishit Rabbah parsha 10, which says it means 'caused to rest', i.e., He caused His world to have rest. He also suggests the possibility of it meaning that He caused the world to begin to exist in a stable way, as opposed the supernatural processes which had occurred during creation. For 'va-yinnafash', he sees it as meaning, 'He had His will fulfilled.'
He created shobbos for us to elevate us, not him!
I remember reading somewhere that Hashem only rested on the first shabbos, to show Adam how it was done. But on all subsequent shabbatot, He works hard keeping the world going.