BPM is a holistic approach to optimizing and automating business processes from end to end. On the other hand, RPA deals with automating repetitive tasks; it can play a role in a larger automation/improvement strategy.