The federal government grounded Boeing's newest and most technologically advanced jetliner Wednesday, declaring that the 787 cannot fly again until the risk of battery fires is addressed.