Safari runs on 1.5 operating systems and a limited set of hardware.
Apple is known for how small their teams are.
WebKit runs on macOS, iOS, iPadOS and watchOS across Intel and ARM architectures.
WebKit provides the web views for countless 3rd party apps, including Mail, Calendar, iTunes, etc.
Apple certainly has fewer people who get paid to write code for Safari/WebKit than Google has on Chrome/Blink. I wouldn’t be surprised if Mozilla has more people too, especially since they’re rewriting pieces of the browser engine at the same time.
A number of other companies also contribute support for a variety of other platforms too. Scrolling through a platform header gives a good idea of who's adapted WebKit for their needs: https://github.com/WebKit/webkit/blob/master/Source/WTF/wtf/...
Safari does those two specific things with a quarter of the number you mentioned. The entire team is nowhere near a thousand people.