AI is already leading to layoffs, but humans can't be entirely replaced. Here are steps you can take to protect your career.