Apple is launching a budget laptop to compete with Chromebooks and Windows PCs, targeting students and casual users.