Baidu's profit flat on growing investments in mobile