Why doesn't Mega Man just kill Wily?!

I'm pretty positive the one in X isn't the same one as original willy. Also the X games are way edgy. The MMZ series is maximum edgy though

God this would've been fucking cool if they actually expanded on this, maybe tied it in to the maverick virus in X or something where Mega Man just starts doing shit blatantly against his programming. These games get so close to actually interesting scifi/robotics tropes like 'what is consciousness' and 'what is free will' and then blows it all on cheap anime drama or goofy shit.

because he'd be labeled a maverick

Why did Wily build all his robots to be compatible with Mega Man's copy ability?

He didn't, megaman got upgraded with it when light sent him out.
also canonically aren't they just like CPU chips or something that he jams into the back of his skull to learn how they do it? I remember reading that in one of the databooks.

why don't he build a self destructive robot?

Because as far as I can tell. Willy created the technology and Dr. Light boosted it because he wanted to see if it was legit after the council of elders told him to fuck off but I'm way off on my megaman lore.

I don't think X would choose to take that power. but Weil did make a robot like that in MMZ3

Oops, I meant Megaman, not X.

No. That was the whole point of Reploids.