Age Of Ultron by Brian Michael Bendis

In a bleak, near-future takeover, the sentient robot Ultron has annihilated or subjugated much of humanity and shattered the superhero community, prompting a remnant of heroes to wage a desperate, time-hopping campaign to undo his rise; their attempts to rewrite pivotal moments instead spawn fractured timelines, harrowing casualties and wrenching moral choices as they confront whether erasing the past — and the cost of attempting to save the future — is worth the price.

Purchase from Bookshop.org