You generally want a laptop of some kind over a tablet. In my experience the typing takes longer, and it objectively has less space and a lower battery life. If it's gonna be solely for lecture stuff and the odd youtube video you'll do just as well to get a cheap-ish windows laptop. Given the choice between those two tho I'd take the macbook.
Ofc you could just handwrite all your notes. It's usually far easier in my experience to just pull a notebook out than it is to start up a laptop every lecture.