How can a pilot avoid automation complacency?
Always fly the whole flight manually to remain in man-machine loop.
Nothing, because it is system-inherent.
Regard the automatic system as additional crew members that needs to be crosschecked aa well.
Always try to enhance your aviation related knowledge during low workload periods.