The US was far richer than India is now when the space program began.
Actually spending to be a front runner in tech like this is not an expenditure, It's a well thought investment. Which i am sure will prove to be a good one, with long term returns.