Serving nuts in sealed packages does NOT remove the chance of cross contamination.  A patron at McDonald's could order a menu item with nuts in a sealed package - then open the package and touch table tops, or spill the nuts on the floor.  McDonald's is a business and needs to make money, if they determined this is the best way, then so be it.