These commas are very much on the borderline of acceptability and I'd advise against them.
I'm not sure what you mean by "I want to make it clear that the 2nd to (used as a proposition) is only referring to the infinitive".
If what you mean is that "I strive, to get success" is not to be interpreted as meaning "I strive in order to get success", then actually the way to clarify this is to avoid the infinitive and write:
I strive, [thus] getting [or gaining] success.
The old man with a beer bottle ran, to learn to run without spilling.
If what you mean is that the man didn't run in order to learn to run without spilling, but rather that by (or while) running he learnt to run without spilling, you should say:
The old man with a beer bottle ran, [thus] learning to run without spilling.
It sounds better with "thus" or "thereby" if the learning occurs as an unintentional by-product, or without "thus"/"thereby" if the learning is an intentional by-product.
An apple fell, to adhere to gravity.
If what you mean is, not that the apple fell in order to adhere to gravity (which is an odd thought), but that the apple fell and thereby adhered to gravity, you should say:
An apple fell, [thus] adhering to gravity.