For simplicity, you can think of RPA as a software robot that mimics human actions, whereas AI is concerned with the simulation of human intelligence by machines.
And on the most fundamental level, RPA is associated with “doing”, whereas AI and ML are concerned with “thinking” and “learning” respectively.