Apple is preparing to overhaul its entire Mac line with a new family of in-house processors designed to highlight artificial intelligence.