I don't think this is a good example of the value of these things. You can just as easily do that same thing with advanced text editor features. Sublime for example supports multi-cursor editing. Just hold alt+shift+arrow keys to add a cursor, then type in the brackets you want. Ctrl+D can be used to select the next occurrence of the current selection with multiple cursors, built-in commands from the command pallete can do anything to your current selection (e.g. convert case), etc.
All of that efficiency without having to pay a monthly subscription, wasting electricity on some AI model, and worrying about the legal/moral implications.