Heinlein had a knack for anticipating logical developments. His "Door Into Summer" describes ATMs, robotic household cleaners (albeit a bit more sophisticated than the auto-vacuums out now), and government subsidies to the auto industry. "The Moon Is A Harsh Mistress" talks about sophisticated bionic replacement limbs, surrogate motherhood as a practical business and ice on the moon being tapped for water.There's also the citations noted above. He may not have been the first-but he could describe them in a simple manner that is clearly recognizable to readers today.
If you ever watch Future Weapons (with Mack!) on Discovery we really are getting the Starship Troopers phase. Not sure if that's a good or bad thing