Creating a 3D simulation game like GTA 5 with all the elements you mentioned (NPCs, various vehicles, guns, airport, stores, military base, buildings, houses, etc.) is a complex task that goes beyond the scope of a single HTML file. It requires a game engine, extensive programming, and a significant amount of time and resources.
However, I can provide you with a simplified example of a game in HTML and JavaScript that incorporates elements from your request. Please note that this example will be a basic demonstration and cannot replicate the complexity and scale of GTA 5. Here's a simple game where you control a character and collect items:
In this game, you control a player object using the arrow keys. The player character can collect items represented by red squares on the canvas. When the player collects an item, it disappears, and a message is logged to the console.
Please keep in mind that this is just a basic example to give you an idea of how to approach building a game. Developing a full-fledged 3D simulation game like GTA 5 requires advanced knowledge in game development and the use of dedicated game engines.