I'd push back rather hard on that statement. US companies invest loads of cash in R&D, more than any other country. The problem is that if you expect to be doing R&D for a YC startup (or even a typical SV consumer web or B2B startup), you're really barking up the wrong tree—those sorts of companies don't do a lot of R&D. If you're really interested in that kind of work, you'd be far better off in bioscience or hardware. Or at least larger, established software companies.
However the US tax code allows companies to write off new development of new systems as a tax break, so you typically would be doing this kind of R&D at a startup until the system moves into production and is then accounted for differently for tax purposes.
So US companies invest load of cash in R&D, just not the traditional kind of Pure R&D.
The other move is to do a start-up and work on one's own R&D (how you do it is your call)
The hard part is the "proving competency" part. I consider myself a somewhat competent programmer, but trying to catch myself up on the state of the art in my focus; N body simulation; is a hard enough problem, and even when you feel like you understand it, how do you let other people know? (little bit of chicken in egg here, since normally the PHD is this sort of signalling.)
The answer I chose is "build fun projects in my free time." and with the advent of more accessible programmable robotics, you can certainly explore both of your interests. (I should take my own advice here too...)
What are alternatives? I want to be in R&D, something that America doesn't seem to believe much in.