Pac lived a life where he thought of death, because it was all around him, and he knew how he was moving.....it wasn't the thoughts that killed him, it was the life. His actions eventually caused his death, because of the reality of his actions.
Like, Karma doesn't exist, it's all pure logic and actions, it's not "be careful what you say the universe listens", when 5 year olds catch bullets in places like Chicago or Tijuana, did they attract that? Either it works both ways, or it doesn't work at all.