Alcohol, tobacco, etc. without age restrictions?

I've ordered everything from alcohol, nicotine-containing products, or other age-restricted items online. Never once have I been sent these items with age verification, regardless of whether it's from an unknown retailer or a well-known website. My question is, how can something like this be legal, and why don't such companies get into trouble?