Is com owned by the government?

No, only .gov is owned by a government. .com is commercial, meaning it is owned by a company or a small business or a private individual. If you bought a website, it would likely be a .com.