After witnessing a swimmer nearly drown, a group of friends have created a world-first AI lifesaver ready to patrol Aussie beaches.