Fasten your seatbelt, return your tray table to its full upright position and swallow a sensor-packed smart pill for a smoother flight.