Apple readies AI for iPhone, Mac, iPad