Brock Purdy made history in the San Francisco 49ers' 30-7 win at Pittsburgh, six months after elbow surgery.