Are carpenters cooked? I went to home depot, bought a hammer, nails, and some wood, and built a mini shelf.
Building trivial tools with AI doesn't mean that devs won't have jobs. It might mean that people won't be able to make a living whipping out brochure-ware web sites for their friends, but that market was just about dead anyway. And maybe it will even be able to handle basic CRUD apps. That doesn't mean the industry is dead, it just means the bar for low-hanging fruit is now hanging a little higher.