Apple has spent two hours announcing an avalanche of new software features coming to iPhones, iPads, Macs, Apple Watch and Apple TV.