A new Apple patent reveals smarter laser-powered autofocus technology