FRANKFURT, Germany — A global technology outage grounded flights, knocked banks and hospital systems offline and media outlets off air on Friday in a massive disruption that affected companies and services around the world and highlighted dependence on software from a handful of providers.