One of the definitions for "peter out" is "exhaust", so I suppose there could be a connection there!

(My Oxford dictionary says the origin of "peter out" is unknown, so your guess is probably as good as anyone else's.)