Apple’s effort to position the iPad as a laptop alternative has been building for years.