But that's just wrong. Most RPA Software (like UiPath) uses selectors for web and desktop automation. You can use static or dynamic selectors, anchors and lots of other techniques to tell the bot where to click/type.
It's very dynamic and a well written bot will work even after changes to the website or software.
Also, pure RPA is usually only used on legacy software without any other APIs, so they rarely change.