Computer programming evolves so quickly that I would not make bets on 2 years hence, never mind 20 years.
Arduinos are programmed using C++ which has been around for a good many years. However C/C++ appears to be facing a challenge from a new language called Rust - who knows whether the challenge will be successful, or how long that might take, or whether something else will come along and oust both of them.
However don't take that as a pessimistic statement. In general, if you are competent at programming in any language the change to another language will not be difficult. And, presumably, continuous efforts are being made to make programming easier just as the C language was (is) much easier than writing code in assembler.
And you can get your last dollar that Boston Dynamics are very far into the future compared to the Arduino system.
The Arduino system is essentially a learning and hobby tool. The mirochips that are used in Arduino boards are, of course, widely used in industry, but the Arduino boards are not.