The definite article (the) is used because the reference is to smartphones/laptops/3D printers generally, and as a member of the class "electronic gadgets." Consider this definition (from Oxford Dictionaries):
the
DETERMINER
3 Used to make a generalized reference to something rather than
identifying a particular instance:
"he taught himself to play the violion"
"I worry about the future"
3.1 Used with a singular noun to indicate that it represents a whole
species or class:
"they placed the African elephant on their endangered list"
You would only use the indefinite article (a or an) here if you were talking about an actual instance of one of those devices, especially if the quantity is one. Consider this definition:
a1 (also an)
DETERMINER
1 Used when mentioning someone or something for the first time in a text
or conversation:
"a man came out of the room"
"it has been an honour to meet you"
1.1 Used with units of measurement to mean one such unit:
"a hundred"
"a quarter of an hour"
For example, the indefinite article is appropriate in the following sentence, but the definite article is not:
Nowadays, most people carry a smartphone.