Preheat oven to 425°F (220°C) and grease a 9×13-inch baking dish.
Cook the beef: In a skillet over medium heat, brown the ground beef. Add diced onions and sauté until soft.
Add flavor: Stir in canned corn (with liquid), water, beef gravy mix, salt, pepper, onion powder, and garlic powder. Simmer for a few minutes, then pour the mixture evenly into the prepared baking dish.
Prepare mashed potatoes: Bring water and butter to a boil. Remove from heat and stir in instant mashed potato mix and milk until smooth. Spread the mashed potatoes gently over the beef layer.
Add tater tots: Arrange the frozen tater tots in a single layer on top of the mashed potatoes.
Bake: Bake uncovered for 30 minutes, or until tater tots are golden and crispy.
Cheesy finish: Sprinkle the shredded cheese over the tots and bake an additional 4–6 minutes, until melted and bubbly.
Cool and serve: Let the casserole rest for a few minutes before slicing and serving.