France to spend $1.8 billion on AI to compete with U.S., China