Government IDs are not a solved problem, and you don't seem to have even tried to consider the issues involved. The key distinction between voting and cold medicine is that you have a right to vote, but not to buy cold medicine. So if you lost your ID, or it's expired, it is not an option to just say "that sucks, I guess you can't vote now".
In fact, as a rule, ID is reserved for things that aren't important, because it is a point of failure.
Yes, only advanced countries like India can give everyone an ID. The US is too poor and backwards to give everyone a plastic card.