"The internet", in the sense of the big TCP/IP v4 network we know today, was a DARPA-funded enhancement to the original ARPANET.
The Pentagon owns a big chunk of the internet because the Pentagon paid for the internet, basically. The more interesting bit is how much it they gave away for free, not how much it kept.