Safe passing involves getting in front of the rider you're overtaking BEFORE the apex of the corner. Attempting to overtake another rider at the apex is almost always going to lead to incidents.
If Lorenzo didn't pick his bike up they both would've crashed. There is so many similarities in this incident but because Rossi's role was reversed you refuse to see it.