A single Dyson swarm would dominate almost anything shown in Star Trek, while being mundane compared to the Death Star (or derivatives) in Star Wars.
The replicators in Trek were shown to be capable of self-replication and ISRU in the season finale of DS9 season 5, and therefore ought to have been able to build a Dyson swarm around every Federation planet simultaneously over the course of season 6.
And don't get me started on the absurdity of Marvel putting Thor and Hawkeye in the same battle at any point. Even Norse Thor is absurd enough compared to a mortal human, Marvel Thor is much much worse.
dyson sphere still needs a lot of huge engineering upgrades at scale
in order to reach there humanity will have go to through series of such mega scale projects