The aquarium back up batteries are often "plug and play". You are purchasing the design (e.g. vortech battery backups don't require any meaningful tinkering to work with a vortech pump).
You could absolutely use certain computer back up units or even make your own for a fraction of the aquarium backup batteries. Additional options include making your own to run off deep cycle batteries, generators, etc. In cases other than the aquarium backup batteries, it often involves following a tutorial from someone with electrial know how, your own know how, or additional steps to ensure comparability. For those that don't want that level of complexity or don't want to mess with electricity (a real risk if done haphazardly), aquarium backup batteries are a great choice!