Unfortunately, A lot of RPA companies, including UiPath, have co-opted the word RPA into enterprise marketing, alongside words like 'AI', so the words lose meaning. But RPA is just automating the UI, when no API exists.
Disclosure: I'm a co-founder in an RPA startup. I think RPA is a confusing, historical accident of a name.