Also worth noting that AWS was already selling products using Elastic in the name before Elastic/Elasticsearch (2010)
Eg AWS Elastic Compute Cloud (2006) AWS Elastic Block Storage (2008)
I suspect if Elastic tried to take them to court they would have got the trademark thrown out.