Honestly I’ve done mostly forgot, and with the proliferation of AI technologies and all the typos AI has read from in the training models, I bet AI isn’t always right about this either.
I usually just don’t care anymore, whether the autocorrect puts the apostrophe in or not.
Mr Francis, my year 10 English teacher told me:
It’s “its”, not “it’s”, unless you mean “it is”, in which case it is “it’s”.
That was 40 years ago, and I’ve never forgotten it.