Preheat the oven to 180°C (350°F).
Cook the spaghetti according to the package instructions. Drain well and set aside.
In a skillet over medium heat, heat the canola oil and butter. Add the ground beef and cook until all the liquid released by the meat has evaporated.
Add the chopped onions and crushed garlic. Cook, stirring frequently, until the onions are tender.
Stir in the tomato paste, salt, and black pepper.
Add the cooked spaghetti and toss with a fork until evenly coated and well combined with the meat mixture. There is no need to add water.
Grease 15 medium-sized muffin tin cups with butter.
Sprinkle the breadcrumbs evenly over the greased muffin cups.
Divide the spaghetti mixture evenly among the prepared muffin cups, arranging it into little nest shapes.
Sprinkle the grated Swiss cheese evenly over the spaghetti nests.
Bake for 12–15 minutes, or until the cheese has melted and is lightly golden.
Remove from the oven and let the spaghetti nests rest for 2–3 minutes. Run a knife around the edges of each nest to loosen, carefully remove from the muffin tin, and serve warm.