*lets a Pokemon use strength*
Nothing happens, you are still the one who is going to push the Boulder. Unless there is this phenomenon where Pokemon power can be transferred to humans, this won't be a logic but I found this out when I was playing Soul Silver XD