How bitcoin maintain its network when bitcoin no longer mineable?
This is something you needn't to worry about as this will not be the case for the next 124 years!
And if Bitcoin should still be around at that time, fees will have taken over as the main reward for mining a block.
So miners will still have an incentive to run their machines.