Currently the drupal/console module is not updated for Drupal 9. To be able to use it you have to pass some flags to Composer
composer require drupal/console:~1.0 --prefer-dist --optimize-autoloader --sort-packages --no-update composer update
The issue regarding this bug is still open: https://github.com/hechoendrupal/drupal-console/issues/4220
