Maryland on Friday became the first state to enact a digital advertising tax targeting large tech companies like Amazon, Google and Facebook, which could be followed by similar taxes in other states.