It’s only happened recently in the manga but all that really happened is Shanks saying he wants to “claim the One Piece” so anything about his intentions is theorizing, really. I personally think he’s just trying to challenge Luffy but nothing has been confirmed yet.